Commit graph

33 commits

Author SHA1 Message Date
Martin Gräßlin
6417246358 Add GHNS support for Scripted KWin Effects
BUG: 296773
FIXED-IN: 4.10
REVIEW: 107051
2012-10-28 09:49:02 +01:00
Martin Gräßlin
d14cf2da92 Show detailed information why an effect cannot be loaded
Effects can specify their minimum requirements in their
desktop file:
* OpenGL
* OpenGL 2 (GLSL required)
* Shaders (either ARB or OpenGL 2)

The configuration module uses this information in combination
with which backend KWin is currently using. So if e.g. OpenGL
is used and an effect requires OpenGL 2 a detailed error
message can be showed that OpenGL 2 is required.

BUG: 209213
FIXED-IN: 4.9.0
REVIEW: 104847
2012-05-15 18:02:57 +02:00
Thomas Lübking
75b6a04732 add delay before reinit confirmation
required to mitigate false positives due to threaded init code

REVIEW: 104799
2012-04-30 22:37:40 +02:00
Martin Gräßlin
6919b4dc94 Drop CompositingPrefs from Compositing KCM
Instead of getting the information from CompositingPrefs
the running KWin instance is queried through D-Bus.
In general the running KWin should have more information
about whether Compositing will work or not.

This means the kcm no longer has to link OpenGL.

REVIEW: 104753
2012-04-29 21:50:09 +02:00
Thomas Lübking
19fceb5216 add GUI config for graphicssystem
REVIEW: 103431
2012-01-24 22:42:49 +01:00
Thomas Lübking
364ce6fbfc Allow the user to rearm OpenGLIsUnsafe KWIn autocrash protection
Also add a usable "doesn't work why" info and WARN! the user about clicking the rearm button.
Merge "OpenGLIsUnsafe" and "CheckIsSafe" config keys
Move the entire checking into CompositingPrefs

BUG:250865
FIXED-IN:4.7
2011-05-11 20:16:08 +02:00
Thomas Lübking
0c5d47f3ae unify composite activation, 'Enable' only controls initial state 2011-03-06 22:35:13 +01:00
Martin Gräßlin
0a7e48f7aa KWin uses kdelibs coding style. 2011-01-31 20:07:03 +01:00
Thomas Lübking
029f93127f kick trilinear filtering if favor of the lanczos filter (now default, unless blacklisted)
make the scale method configurable and align the UI for GL and Xrender

CCBUG: 243181


svn path=/trunk/KDE/kdebase/workspace/; revision=1195698
2010-11-11 19:53:19 +00:00
Robin Harold Burchell
f892ffb0e7 Remove flicker when changing effect plugins by not fully reloading compositing plugins anymore.
Replaces one hack with another hack (due to having to support multiple kwin instances),  but provides a much better user experience.
Big thanks to mgraesslin for comments,  review,  and fixes.

BUG: 183107

svn path=/trunk/KDE/kdebase/workspace/; revision=1022489
2009-09-11 21:03:24 +00:00
Martin Gräßlin
63edbaff81 Show current compositing state (disabled/suspended/active) in Desktop Effects KCM and add a button to resume/suspend compositing. So it should be easier for the user to resume compositing if he does not know about the shortcut.
CCBUG: 188118

svn path=/trunk/KDE/kdebase/workspace/; revision=955636
2009-04-18 10:07:16 +00:00
Lucas Murray
ac9c37c64d Merged "active screen edges" and "active desktop borders" into a single
GUI panel. This panel is currently located in System Settings -> Desktop
-> Screen Edges.
BUG: 174709

svn path=/trunk/KDE/kdebase/workspace/; revision=932929
2009-02-27 15:40:53 +00:00
Lucas Murray
3f1f5b8686 Do the previous commit at buildtime instead of runtime.
CCMAIL: espen.hustad@gmail.com

svn path=/trunk/KDE/kdebase/workspace/; revision=894258
2008-12-08 11:00:01 +00:00
Lucas Murray
d760d90eb6 When compiled without OpenGL or XRender support do not show it in the
advanced settings. Patch based on one by Espen Hustad.
BUG: 162094

svn path=/trunk/KDE/kdebase/workspace/; revision=894252
2008-12-08 10:48:38 +00:00
Lucas Murray
5821e6f9d7 Reverted all code relating to automatic X crash detection with agreement
from David. Due to an elusive bug somewhere in kdelibs we have not been
able to find out how to fix the issues that some people were having.
There seems to be a race condition as I cannot reproduce at all, David
can reproduce sporadically and some reporters can always reproduce.

This commit attempts to also keep the code style changes that were made
at the same time as the original commit as well as some minor bug fixes
that were made between then and now. Hopefully I didn't miss anything.

We will be revisit this in KDE 4.3.

BUG: 177178

svn path=/trunk/KDE/kdebase/workspace/; revision=894182
2008-12-08 05:08:31 +00:00
David Nadlinger
21f64ffffe kcmkwincompositing: Brought back a slot which I recently removed because it was seemingly unneeded (at least nobody could tell why it was there in the first place).
I don't expect this to fix the plugin selection bug, but it could aid in tracking the issue down.

svn path=/trunk/KDE/kdebase/workspace/; revision=893015
2008-12-05 18:41:24 +00:00
David Nadlinger
81966b29e9 Removed now unneeded temporary config workaround from kcmkwincompositing.
If there appears any new, possibly related bug, be quick to suspect this commit, because it is not really tested, but should help to track the plugin selection bug down.

svn path=/trunk/KDE/kdebase/workspace/; revision=893010
2008-12-05 18:13:42 +00:00
David Nadlinger
d79ef83183 When modifying the compositing settings, save a backup of kwinrc to another file to be able to revert if the X server crashes while testing the new config.
Also fixed a little bug in kcmkwincompositing (dropdowns on the general tab were not updated correctly) and cleaned up the code a bit (removed a few unneeded function calls and stale connects).

See the conversation on the mailing list ("Patch for bug 174769", http://lists.kde.org/?l=kwin&m=122696916611602) for further information.

BUG 174769


svn path=/trunk/KDE/kdebase/workspace/; revision=888659
2008-11-25 01:42:30 +00:00
Lucas Murray
2cfcdf66f7 Moved desktop effect advanced options GUI from a dialog into a tab.
svn path=/trunk/KDE/kdebase/workspace/; revision=884186
2008-11-14 12:36:59 +00:00
Martin Gräßlin
585addb450 Add a widget to assign an effect to screen edges in the kwincompositing dialog.
Remove the previous configuration for assigning screen edges from the config dialogs of the single effects.

svn path=/trunk/KDE/kdebase/workspace/; revision=880728
2008-11-06 10:42:36 +00:00
Luboš Luňák
0ca1edbfe8 Read default values from .desktop files when finding out whether an effect is enabled,
otherwise the effect-for-alt+tab combo resets to no effect when the dialog is used the first time.


svn path=/trunk/KDE/kdebase/workspace/; revision=866648
2008-10-01 15:21:21 +00:00
Thomas Zander
72ea36acce Fix problem(s) that the revert to previous config didn't actually work
for the items on the global tab. So enabling compositing made the whole
screen black for me with no way out.

svn path=/trunk/KDE/kdebase/workspace/; revision=754669
2007-12-30 14:07:38 +00:00
Luboš Luňák
01bf6cbb4c License cleanup - add headers where missing, be explicit about GPL
being v2+ (right now it says just GPL, which according to GPL itself
means any GPL). Decoration clients will come later.
CCMAIL: kwin@kde.org


svn path=/trunk/KDE/kdebase/workspace/; revision=742302
2007-11-27 19:40:25 +00:00
Rivo Laks
6e2967b573 Use KTimerDialog from randr kcm instead of our own dialog.
svn path=/trunk/KDE/kdebase/workspace/; revision=721602
2007-10-05 16:36:17 +00:00
Rivo Laks
a93826681a Synchronize effect checkboxes with the effect selector widget by using a
temporary config file for communication when active tab changes.

svn path=/trunk/KDE/kdebase/workspace/; revision=714742
2007-09-20 13:21:49 +00:00
Rivo Laks
d32b4a3130 Use KDialog instead of QMessageBox for confirmation dialog (can't use KMessageBox)
svn path=/trunk/KDE/kdebase/workspace/; revision=714120
2007-09-18 19:38:57 +00:00
Rivo Laks
d965cdee99 Beginnings of confirmation dialog shown when critical compositing settings
are changed.
When user doesn't click Yes in 10 secs then changes are reverted.

svn path=/trunk/KDE/kdebase/workspace/; revision=714104
2007-09-18 19:00:23 +00:00
Rivo Laks
9f95efdc27 Use CompositingPrefs here as well for default options autodetection
svn path=/trunk/KDE/kdebase/workspace/; revision=714012
2007-09-18 14:32:37 +00:00
Rivo Laks
86831ca7a8 Add Effects tab to the compositing config module.
It contains the list of all effects which has it's separate module ATM.

svn path=/trunk/KDE/kdebase/workspace/; revision=713933
2007-09-18 10:09:07 +00:00
Matthias Kretz
4a629bebe9 port to KPluginFactory
svn path=/trunk/KDE/kdebase/workspace/; revision=705731
2007-08-28 13:01:13 +00:00
Matthias Kretz
8cb674aa75 compile using KDE3_SUPPORT for KCModule; fix forward decl.
svn path=/trunk/KDE/kdebase/workspace/; revision=705387
2007-08-27 20:48:55 +00:00
Rivo Laks
887caff1c4 Make compositing config more user friendly by renaming Compositing to Desktop Effects and
putting advanced options into separate dialog.

svn path=/trunk/KDE/kdebase/workspace/; revision=690288
2007-07-20 16:19:09 +00:00
Rivo Laks
824f005f58 Add beginnings of kwincompositing config module, meant to replace kwintranslucency one
svn path=/trunk/KDE/kdebase/workspace/; revision=689947
2007-07-19 16:20:05 +00:00