Re: [SailfishDevel] How to show toast notification?

2020-03-03 Thread Bjoern Bidar
Hey, I don't think toast notifications really fit into sailfish os. A good replacement is a in app notification like when you can't send a message in the messages app or in storeman for bookmark. Here is the qml source how storeman does this: https://github.com/mentaljam/harbour-storeman/blob/

Re: [SailfishDevel] How to show toast notification?

2020-03-03 Thread szopin
Whoops, seen it in quickddit and assumed it was silica, but it is actually custom made: https://github.com/accumulator/Quickddit/blob/master/sailfish/qml/InfoBanner.qml If your app is gpl you can just borrow it I guess, seems to work well enough. Regards, szopin On Tuesday, 3 March 2020, Tamas

Re: [SailfishDevel] How to show toast notification?

2020-03-03 Thread Tamas Miklos
Hi Guys, Thank you for your help and pointers. My confusion was due to the fact that I couldn't place the DockedPanel into the right place after getting lost in the QML's I've got in my app :) AFAIK infoBanner is not supported by SFOS, but I've managed to come up with a similar solution

Re: [SailfishDevel] How to show toast notification?

2020-03-03 Thread Dylan Van Assche via Devel
I use the `transient` option to briefly show a notification. It's the same type of notification you get when you plug in your phone in a charger for example. https://sailfishos.org/develop/docs/nemo-qml-plugin-notifications/qml-nemo-notifications-notification.html/#isTransient-prop Kind

Re: [SailfishDevel] How to show toast notification?

2020-03-02 Thread piggz1
In amazfish, I animate in a rectangle. Its all wrapped up in a function which hides at using a timer. It all exists in the main application qml file with a z value to ensure its above all pages. Unfortunatley, i dont think there is a standardised way of doing this. Adam On Monday, 2 March

Re: [SailfishDevel] How to show toast notification?

2020-03-02 Thread richard grooff via Devel
Hi, Are you aware of the example at Nemo QML Plugins Notifications - Sailfish OS | | | | Nemo QML Plugins Notifications - Sailfish OS | | |  Best regards, Richard On Monday, March 2, 2020, 1:29:02 PM GMT+1, Tamas Miklos wrote: Hi, I'd like to show a quick

Re: [SailfishDevel] How to show toast notification?

2020-03-02 Thread szopin
Hi, Maybe infoBanner.alert? Regards, szopin On Monday, 2 March 2020, Tamas Miklos wrote: > Hi, > > I'd like to show a quick notification to the user of my SFOS app after > selecting a certain PullDownMenu item. The notification doesn't need to be > modal or have any buttons or require any

[SailfishDevel] How to show toast notification?

2020-03-02 Thread Tamas Miklos
Hi, I'd like to show a quick notification to the user of my SFOS app after selecting a certain PullDownMenu item. The notification doesn't need to be modal or have any buttons or require any user interaction. Much like how the Toast notification works in Android apps. The closest I got to