kwin/effects/presentwindows
Thomas Lübking 57f8c6d5f8 recreate presentwindows grids from desktopgrid
Theory:
----------
because PresentWindowsEffect::screenCountChanged() is shortcut
for "if (!isActive())", but the desktopgrid doesn't call
PresentWindowsEffect::setActive (or at least
PresentWindowsEffect::screenCountChanged), so the effect can
"miss" the increasing screen count change (it sees the signal,
but ignores it) and when desktopgrid calls it, it assumes the
m_gridSizes array is big enough (but it isn't)

Steps:
----------
1. effects are loaded, 1 screen present
2. 2nd screen gets added, but inactive effects ignore that
3. desktop grid gets activated, updates according to screen count,
   calls presentwindows for screen #2
4. presentwindows data is only prepared for one screen from step 1
   => BOOM

BUG: 351724
CCBUG: 326032
FIXED-IN: 5.4.2
REVIEW: 124960
2015-09-14 21:01:01 +02:00
..
CMakeLists.txt Deprecate kservice_desktop_to_json(), use kcoreaddons_desktop_to_json() instead. 2015-01-16 22:52:26 +01:00
main.qml Don't hardcode Present Windows close button size 2014-08-11 12:27:21 +02:00
presentwindows.cpp recreate presentwindows grids from desktopgrid 2015-09-14 21:01:01 +02:00
presentwindows.h recreate presentwindows grids from desktopgrid 2015-09-14 21:01:01 +02:00
presentwindows.kcfg [kwin] Remove DragToClose from Present Windows Effect 2014-03-18 08:14:00 +01:00
presentwindows_config.cpp [effects] Properly set the componentDisplayName on the KActionCollection 2015-08-12 09:40:55 +02:00
presentwindows_config.desktop SVN_SILENT made messages (.desktop file) - always resolve ours 2015-04-07 13:20:00 +00:00
presentwindows_config.h [kwin/effects] Use generated dbus interface to reconfigure effects 2014-03-25 15:49:19 +01:00
presentwindows_config.ui
presentwindows_proxy.cpp recreate presentwindows grids from desktopgrid 2015-09-14 21:01:01 +02:00
presentwindows_proxy.h recreate presentwindows grids from desktopgrid 2015-09-14 21:01:01 +02:00
presentwindowsconfig.kcfgc