clicking on any of its widgets before the dialog is closed can mess up the
configuration because the widgets are still connected to signals and slots
side note: if the overview button is clicked (i.e. the componentchoooser
KCM is closed) while the timer dialog is active is can happen regardless
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
two things were not done properly before:
- current window manager was not replaced if the window manager that
would replace does not have --replace command (or alternative)
- waiting for the window manager to become active
now that that is done, any window manager can be started right away and
more .desktop files may be added in the future
also, something that occurred to me while writing the code for it - KWin
replaces the window manager on the current screen only and it is
possible to code the window manager chooser to start the replacing window
manager on any screen (assuming it has --screen argument or something
like that)
if Xrender is not found a fatal message will be issued by the top-level
CMakeLists file because it is required by KWin compositor for example
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
the style KCM for example emits changes via
KGlobalSettings::self()->emitChange() however it does not wait for the
KGlobalSettings::settingsChanged() signal (which means settings are
reloaded) before running krdb, font and palette settings are likely subject
to this race-condition but for now that will do
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
note that the only way to set EffectsEnabled, EffectFadeMenu,
EffectFadeTooltip and EffectAnimateCombo was manually (by editing the
~/.katana/share/config/kdeglobals config file) because there is no GUI for
those config options but there is for the graphics effects level
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
this is kinda not according to the spec (which allows user overrides) but
what is the outcome of having a local copy of system file?
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
can happen if the .desktop file is in /usr/share/autostart/ for example and
the user cannot write there
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
see the previous commit, also fixes detection of programs that are
automatically started by using KStandardDirs to find the autostart
directories
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
by the time ksplash gets the X11 events for startup phases the startup
process is (and should be) done, especially after the display
configuration is done and the monitor is ready to output thus ksplash
does not really indicate much
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
KWin has effect for it, I am not sure if it should be done by KWin but
if it is done by krunner and krunner is not started in Katana session it
may interfere with whatever is (potentially) doing startup notification
feedback. obviously, same goes for KWin but now it is done only from
one program
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>