maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   [PATCH] Desaturate instead of blur (hildon-desktop) (https://talk.maemo.org/showthread.php?t=68512)

thp 2011-01-17 12:03

[PATCH] Desaturate instead of blur (hildon-desktop)
 
Another patch, after an idea by MohammadAG - removes the blurring and instead amplifies the desaturation. I'll leave it to others to clean up the patch and merge it into MHD or any of the builds that are floating around ;)

Get it here: "noblur" Patch against hildon-desktop_2.2.140-1+0m5

If you do not fear scratchbox, just:

Code:

apt-get source hildon-desktop
patch < /path/to/hildon_desktop_noblur.patch
cd hildon-desktop-2.2.140
dpkg-buildpackage -rfakeroot -b
cd ..
scp hildon-desktop_2.2.140-1+0m5_armel.deb n900:
ssh n900
sudo gainroot
dpkg -i hildon-desktop_2.2.140-1+0m5_armel.deb
killall hildon-desktop

http://thp.io/2011/maemo/hildon_desk...ur_appmenu.png

http://thp.io/2011/maemo/hildon_desk...ur_desktop.png

http://thp.io/2011/maemo/hildon_desk...ur_dialogs.png

F2thaK 2011-01-17 12:10

Re: [PATCH] Desaturate instead of blur (hildon-desktop)
 
hmmm. cool. but why?

ivnvir 2011-01-17 12:15

Re: [PATCH] Desaturate instead of blur (hildon-desktop)
 
is it faster?

F2thaK 2011-01-17 12:22

Re: [PATCH] Desaturate instead of blur (hildon-desktop)
 
Quote:

apt-get source hildon-desktop
patch < /path/to/hildon_desktop_noblur.patch
cd hildon-desktop-2.2.140
dpkg-buildpackage -rfakeroot -b
cd ..
scp hildon-desktop_2.2.140-1+0m5_armel.deb n900:
ssh n900
sudo gainroot
dpkg -i hildon-desktop_2.2.140-1+0m5_armel.deb
killall hildon-desktop
can you do this on N900?

thp 2011-01-17 12:23

Re: [PATCH] Desaturate instead of blur (hildon-desktop)
 
Quote:

Originally Posted by f2thak (Post 922230)
hmmm. cool. but why?

Why not? It makes it easier to see what's behind the current popup, so when you go back, you can already target the next UI item (unscientific, non-evaluated guess). It also looks better IMHO, but you are free not to use it.

Quote:

Originally Posted by ivnvir (Post 922234)
is it faster?

Yes, because there is no need to blur iteratively multiple times (which is how the blur is implemented AFAICT).

MohammadAG 2011-01-17 14:49

Re: [PATCH] Desaturate instead of blur (hildon-desktop)
 
THANKS!

I didn't expect you'd get this working in less than a day!
Again, thanks a heap!

Char 2011-01-17 14:54

Re: [PATCH] Desaturate instead of blur (hildon-desktop)
 
a bit confused
how is this different from editing transitions.ini, disabling the blur and making the saturation zero?

MohammadAG 2011-01-17 15:40

Re: [PATCH] Desaturate instead of blur (hildon-desktop)
 
Disabling blur overrides 0 saturation, try it yourself, you'll see the background as it is, this patch makes it more ala Symbian^3 or MeeGo, a bit more resource friendly.

Oh and here's a deb with this applied on top of http://gitorious.org/community-ssu/hildon-desktop

http://mohammadag.xceleo.org/public/...rize_armel.deb

Mentalist Traceur 2011-01-17 17:39

Re: [PATCH] Desaturate instead of blur (hildon-desktop)
 
Question: do those sources (or Mohammad's preopackaged deb) include the thing that enables portrait-mode status-menu opening (the hildon-desktop part, obviously, not the hildon-status-menu part)? Because that's far more valuable to me than this. (Or, indeed, than the entire SSU, probably - in that I would wait until I could figure out how to readd portrait mode status menu opening before bothering to upgrade to community SSU.)

tHMZ 2011-01-17 17:40

Re: [PATCH] Desaturate instead of blur (hildon-desktop)
 
Quote:

Originally Posted by MohammadAG (Post 922360)
Disabling blur overrides 0 saturation, try it yourself, you'll see the background as it is, this patch makes it more ala Symbian^3 or MeeGo, a bit more resource friendly.

Oh and here's a deb with this applied on top of http://gitorious.org/community-ssu/hildon-desktop

http://mohammadag.xceleo.org/public/...rize_armel.deb

WOW thanks! And you included faster menu scrolling :D:D Huge thanks to both of you! :)


All times are GMT. The time now is 18:26.

vBulletin® Version 3.8.8