Merge lp:~jgonzalezdr/cairo-dock-plug-ins/suspend-workaround-applet into lp:~cairo-dock-team/cairo-dock-plug-ins/plug-ins
Status: | Needs review |
---|---|
Proposed branch: | lp:~jgonzalezdr/cairo-dock-plug-ins/suspend-workaround-applet |
Merge into: | lp:~cairo-dock-team/cairo-dock-plug-ins/plug-ins |
Diff against target: |
411 lines (+341/-0) 10 files modified
CMakeLists.txt (+14/-0) Suspend-Workaround/CMakeLists.txt (+2/-0) Suspend-Workaround/data/CMakeLists.txt (+7/-0) Suspend-Workaround/data/Suspend-Workaround.conf.in (+8/-0) Suspend-Workaround/src/CMakeLists.txt (+38/-0) Suspend-Workaround/src/applet-config.h (+30/-0) Suspend-Workaround/src/applet-init.c (+157/-0) Suspend-Workaround/src/applet-init.h (+31/-0) Suspend-Workaround/src/applet-struct.h (+47/-0) copyright (+7/-0) |
To merge this branch: | bzr merge lp:~jgonzalezdr/cairo-dock-plug-ins/suspend-workaround-applet |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Cairo-Dock Devs | Pending | ||
Review via email: mp+233496@code.launchpad.net |
Description of the change
Added Suspend-Workaround applet that fixes the icon corruption that happens with some graphic cards (e.g. nvidia) when suspending the computer.
Fixes bug #535065 "symptoms" with a workaround that doesn't need external scripts added and configured manually by affected users (as proposed in https:/
To test it just install the applet in an affected computer and enable it, suspend the computer, resume, and voilà... icons aren't corrupted any more.
Unmerged revisions
- 3119. By Jesús González
-
Added copyright info for the Suspend-Workaround applet
- 3118. By Jesús González
-
Added Suspend-Workaround applet that fixes the icon corruption that happens with some graphic cards (e.g. nvidia) when suspending the computer
Hello and thank you for this new applet!
As you said, it's easier and a more user-friendly solution to just enable an applet than downloading an external script and launching it at startup.
But the only goal of this applet is to provide a workaround to fix a bug in the Nvidia drivers and this is why we never add this solution in an applet... (Indeed it's better to fix the bug than having a lot of workarounds which are not so easy to maintain)
On the other hand, I agree with you: this bug is known and it seems Nvidia devs will not fix it soon. We have to find a solution!
Why not an even easier solution for the end user? Here we'll have a new plugin but the user will have to enable it (and we can't enable it by default, it has "a cost", it's just a workaround for a minority of users). Why not detecting the video drivers and then automatically reload the icons (or just the dynamic ones) if there is a change? We'll have to do that in the Core, a bit like the solution that we used before for the bug with the Intel 4000HD video card.
**@fabounet**: what do you think about that? It will not add any new dependences, just connect to a new signal only if proprietary NVidia drivers are used.