Patch: Improved notification preview

Rating: 
4.6875
Your rating: None Average: 4.7 (16 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: 

* 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

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.

didilalalagon9's picture

Update , atempt to fiddle with notification preview.qml had me stuck with no more notifications previews at all. So I restore my previous full backup back to 3.0.1.8. While undergoing to update again to 3.0.1.11, in fact patchmanager failed to unapply you patch ( it's effect where working fine however on 3.0.1.1.8). Now back to 3.0.1.11 being stuck unable to either unapply it or uninstall it . I manage to delete enough trace of it manually to at least being able to perform install/uninstall again but still no succes to realy apply it. Even if patchmanager tel that it is apply succesfully ,none of it's controls have effects at all.

Ingvix's picture

Could you pastebin patchmanager logs from applying the patch? Did the notification preview keep it's appearance as it is without the patch after applying the last time or did the settings just not make any change to the preview?

didilalalagon9's picture

I am on ported onyx, update to 3.0.1.11 . All patch where disabled of course. Update your patch before re applying it. No faill to apply but no working change effert. The stock notifications styles remained unchanged. Any tips ? Works fine on 3.0.1.8. Like your path a lot and by the way , I modify myself the header and body text font size of the notification preview qml for bigger to be more readeable at glance while driving with navigation. If you could add this option to your patch would be great. Also if you could add option to apply glass effect on the notification background pannel to me woulu be great , I still could not find how to tweak that myself in the qml . Keep up the good work.

Ingvix's picture

Did you try to disable and enable the patch again and then refresh lipstick? Sometimes with Patchmanager 3 I've noticed that rarely patches don't take effect though they're shown enabled in the patchmanager. If that doesn't do it, I have no idea how to fix it. Mine's working fine with 3.0.1.11.

The changes you speak of are doable but can't promise when I can get them done. The glass effect might require a bit hacky approach at least with my current knowledge but I don't think it's impossible to produce.

Historyscholar's picture

I want to translate  it into Chinese .Please  add Chinese .Thanks !

Ingvix's picture

All the chineses are now in Transifex available for translating.

carmenfdezb's picture

It doesn't work in 3.0.1.11 :(

ninepine's picture

I can't get the Patch to work on an XA2 running 3.0.1.11 either. "Failed to install"

carmenfdezb's picture

Open 'Terminal' and type 'devel-su pkcon refresh'. Then, try to install the patch again.

Ingvix's picture

Fix'd.

carmenfdezb's picture

Great!! Thank you!!

superyuan's picture

thank you for your amaxing work. I updated systrm to 3.0.0.8 but the patch malfunctioned . now it is stuck that can not use patch manager to uninstall, and unable to install te new patch versions. do you have a sudo command to force to uninstall it completely and so i could reinstall it fresh?

dfstorm's picture

It worked ! Thanks :)

dfstorm's picture

And it fail to install in patchmanger 3 on 3.0.0.5 :(

Ingvix's picture

Fixed.

naytsyrhc's picture

Awesome. Thanks for the quick fix.

dfstorm's picture

Sailfish X 2.2.1.18 here and I most say: thank you. Very good work.

olf's picture

v0.4.4 and v0.4.3 do install fine under SFOS 2.1.4, but fail to apply in Patchmanager. Reverting to v0.4.2-2 resolved this.
You may adapt the RPM spec file to the least supported SFOS version (e.g.: "Requires: sailfish-version >= 2.2.0").

Ingvix's picture

Yes. I recalled doing that but it seems I didn't or did not save the changes. The present version works only for 2.2.0.29 and up as it changed the notification preview a lot. I'll fix it soon.

lkraav's picture

Is it possible to get a padding slider for more spacing *inside* the box?

Thaodan's picture

Did you pushed very change to github?

I want to update to 2.2.x (only small changes needed).

Ingvix's picture

I'm currently updating the patch. Update for 2.2 probably comes today.

Noerde's picture

When would the update be available? Or does the old version still work?

Ingvix's picture

I having troubles connecting with my build engine so can't really say for sure. Could be tomorrow, could be sometime next week. I have the update ready but can't build it.

Thaodan's picture

Did you forgot to push or do you no push on github anymore?

Ingvix's picture

Yes, it seems I forgot to update the github repository. I pushed it now but don't bother with pull request. I have the fix ready in moment.

saba's picture

No. I only installed it yesterday. The last update i did was from 2.1.4.13 to 2.1.4.14 2 days ago.

Pages