Patch: Improved notification preview

Rating: 
4.714285
Your rating: None Average: 4.7 (21 votes)

Moves a bit enlarged icon inside the notification bubble and provides settings to customize notification preview's look and behavior.

You can determine

  • Style of the preview
  • Margin and corner radius (if selected style permits)
  • Maximum and minimum width
  • Duration which the preview is shown
  • What tapping  the preview and swiping it left, right and/or down does.

No more waiting for notifications to time-out out of the way or gathering useless notifications to the events view.

Currently, removing does not work with email notifications. It has probably something to do with notification's email address headers as normally the header is the app's name.

Requires Patchmanager.

You can help translate the patch to your own language on Transifex.

Donations are welcome:

Screenshots: 
Changelog: 

* Thu Nov 7 2019 0.4.5-1

  • Fix for 3.2.0.12
  • Chinese translation, thanks to 天苯

* Tue Jan 8 2019 0.4.4-3

  • Fix for 3.0.1.11

* Tue Nov 6 2018 0.4.4-2

  • Fix for Sailfish 3
  • Updated Spanish translation

* Mon Oct 15 2018 0.4.4-1

  • Content margins setting
  • German translation, thanks to sail_parleur

* Mon Jun 25 2018 Thaodan <theodorstormgrade@gmail.com> 0.4.3-2 (Reverted a bit for familiarity)

  • move changelog to seperate file (recommended by Packaging/Guidelines)
  • fix building in clean build environment, because qmake5 was not installed (missing qt5-qtcore)
  • Added URL tag as suggested by rpmlint-- Shortened Summary as suggested by rpmlint

-* Fri Jun 1 2018 0.4.3-1

  • Fix for 2.2.0.29

* Fri Feb 23 2018 0.4.2-2

  • French and Russian translations, thanks to Guesnery and Ancelad

* Fri Feb 23 2018 0.4.2-1

  • Fix for 2.1.4.13

* Sat Nov 4 2017 0.4.1-4

  • Fix for 2.1.0.11 (and possibly earlier versions)

* Fri Nov 2 2017 0.4.1-2

  • Spanish translation, thanks to Caballlero

* Mon Oct 16 2017 0.4.1

  • Duration setting
  • Small fixes

* Fri Oct 13 2017 0.4

  • Settings page with lot of customation options
  • Bugfixes

* Tue Jul 25 2017 0.3

  • Soft corner only if it doesn't face the side of the screen
  • Notification preview's width is determined by the body text
  • Mimimum preview width is 80% of the portrait-screen-width
  • Maximum is full screen width

* Sat Jul 15 2017 0.2

  • Changed patch for overall notification preview improvement patch.
  • Portrait-screen-wide notification
  • Icon moved inside notification bubble and enlarged
  • Reduced the margins restricting preview texts a bit

* Sat Jul 15 2017 0.1

  • First build.

Comments

shinakuma's picture

Great work! I willing to support your work!

rdomschk's picture

Hello, could anybody update this patch please? Thanks in advance

rdomschk's picture

I missed this patch for zooming the notifications because I am old :(. Could you update it please? Thanks in adwance...

naytsyrhc's picture

Is there any hope to see this patch working with latest SFOS release 3.4.0.x? Unfortunately I can't apply current version with latest SFOS release. Would be much appreciated. Thx!

Ingvix's picture

I have the intention to update the patch but I am a bit busy with life at the moment so can't tell how soon I'll be able to do it.

rdomschk's picture

Could you try to make an update please, because I am 50 and I use this to better read some messages if I use the phone for navigation. I change also the font size in the patched file. This option is also a good idea for your genial patch! Thanks in advance and Thanks for your good work!!!!

didilalalagon9's picture

HI , can you help me out indentifying witch lines of your patch i would have to change to prevent the improve notification bubbles to show up even behind the small transparent notification banner EX : when usb is pluged in with the charging statement. I defenitely want to keep the improved notification for all incomming SMS , email etc.. but let the ''system'' notifications banner be free from the empty bubble that have simply the bigger icon in it.  regards.

rdomschk's picture

Hello - nice work on my Sony X10 with 3.2.1.20! I am since yesterday 50 years old an I ask me if its possibler to add a option for the font size for old users :).

I mean in the file "unified_diff.patch" the line 297: font.pixelSize: Theme.fontSizeExtraSmall change in font.pixelSize: Theme.fontSizeSmall or biger with a switcher?

If I drive car with a navigation app I can't read the messages from Whats app or Telegram bcause its font extrasmall. Thanks in advance...

nerip's picture

Hi could you make it work for X10 and 10 plus? 3.2.0.14 (i guess)

Sometimes it works but sometimes the notification are not as it has been set previously.

Thanks for your work

 

thanks in advance

didilalalagon9's picture

Hi, If you could add option to size up the notifiaction icons on the lockscreen? That would greatly increase readability on the LPM screen .May be all tie to the icon size property of the event view that may be ruled by the group header height, but I would not mind if they where bigger on any views; event , peek from home (when home wallpaper is simply touch) and lock screen. I tried to find out by myself how to tweak this but still no luck . My knoledge is limitted , The best I could influence, is the spacing from the edge when peek from home and lockscreen in one of the line of the ''NotificationListView.qml''. It would be also nice to add the notification count on peak from home

regards.

Ingvix's picture

You solved half of the problem by (presumably) finding the indicatorWidth in NotificationListView.qml. Another one you need to match it is "root._iconSize" in "/usr/lib/qt5/qml/Sailfish/Lipstick/NotificationIndicator.qml", Having indicatorWidth set to "Theme.iconSizeMedium + 2*Theme.paddingLarge" and _iconSize to "Theme.iconSizeMedium" would probably be enough to get the effect you are after.

But that would be a separate patch to make. This patch is only for the notification preview. I don't have time nor interest to make a new one right now but you may if you wish.

didilalalagon9's picture

Thank you a lot for the tip, that's exactly what i was looking for.I can now apply those small chages directly by myself, witch suite me well enough, even if it is not ported to a patch at the moment .Take only few minutes to edit and import back the two modified QML with winscp , not a big deal. Jolla should had created a bridge between those and the general setting for the system font size. I also acordingly sized up the notification count ''font.pixelSize'' to match as well.

carmenfdezb's picture

It doesn't work in SailfishOS 3.2.0 :(

Ingvix's picture

I've already created the fix but yet to build a package. Probably making it today if I don't happen to forget.

carmenfdezb's picture

Nice! Thanks for your quick answer!

nerip's picture

please make it work for 3.1.0.11

Ingvix's picture

It should work on 3.1.0.11 without changes. I'd suggest to try the fixes in previous comments if you're unable to apply the patch.

nerip's picture

Hi but actually i can't delete the files, i don't have permission, and i can't remove it form Storeman either...i'm stuck

Ingvix's picture

You need to delete them as root. I'm guessing you're not familiar using terminal so I suggest you download StartAsRoot package for your favorite file browser from Storeman (or if there's no such package for your favorite, download one of supported browsers for this task) and use it to remove the files.

nerip's picture

ok, but since storeman doesn't work properly with the new version (3.1), it's a little bit complicated .

Ingvix's picture

Yeah, it probably needs to refresh the repositories first. I don't know when does it do it automatically as I've always just refreshed them from terminal if needed. If you don't mind (at least momentarily) activating the developer tools and in FingerTerm typing "devel-su" and then the password you've set on the developer tools page and then "pkcon refresh" and waiting a moment for it to refresh all the repositories. After that Storeman should work properly.

naytsyrhc's picture

Unfortunately I can't apply the patch anymore. SFOS 3.0.3.10, Patchmanager 3. Any hints/ideas for debugging? Or are you aware of this issue?

Ingvix's picture

I am not aware. I'm still on 3.0.3.8 for I've been a bit lazy with updating the system. I'll check it out on the weekend at the latest.

naytsyrhc's picture

Thanks for fast reply. I followed the "instructions" with removing files manually and reinstalled. Now patch was applied successfully.

Ingvix's picture

I see, so it doesn't need an update but I guess I should try to tinker with the installation procedures to avoid such conflicts which seem to happen quite often. Though for some reason I've never faced them.

nerip's picture

Hi
I've got the same problem but i can't delete the files in \share\jolla-settings\...
When will you update the app with the last os version?

Ingvix's picture

It works with the latest system update without changes so there's no need to update it. Are you using Patchmanager 3?

PawelSpoon's picture

Samw here. I.think it was my error. I did not.unapply i.think.
However, installtion did work, applying not, untill.i deleted the files in jolla.settings.as suggested above

didilalalagon9's picture

All right, I finally manage to fix my issue. Uninstalling, even from app store app does not delete your patch traces in '' share/jolla-settings/pages'' and ''entries''.I uninstall from store then manually remove the patch left over from those two location. Fresh re-install then the patch does apply and work again now.

Ingvix's picture

I see. I wonder if patchmanager3 has some difficulties handling files that does not originally exist in the system. Though I've never faced such problems. Nice to hear you got it sorted.

Pages