sending SIGCONT on debug manager (DebuggerManager) start means the process
can exit before backtrace is generated, connecting to the
debuggerFinished() signal after starting the backtrace generator was also
racy
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
the icon is OK when painted on preview displayed in the file properties
dialog (because it is big) but not when it is painted on the previews
generated for Dolphin for example (depending on the icon size which is in
the 16x16-256x256 range)
the ratio may be tweaked in the future, have to play around with it and see
how it goes for the plasma folder applet, tooltips, etc.
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
since the document thumbnails look pretty much the same (i.e. a text page)
drawing icon not only from the generic text thumbnailer as indicator what
type of document the thumbnail is for makes sense
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
note that the getter (KWin::AnimationEffect::metaData()) used to return
signed integer while the setter (KWin::AnimationEffect::setMetaData())
takes unsigned integer as argument, i.e. looks like someone messed up
somewhere
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
easy kill, doubles as performance optimzation by removing the events
handling used by the previous implementation
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Exec may or may not be set to full path in the .desktop file for the window
manager, still it is like brute-force guess
note that the default in KSMServer::selectWm() is just kwin (filename) but
programs are (usually) looked for first in PATH (QProcess does that now for
example)
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
the effects have no dependencies and can be loaded and unloaded at any,
also none of the effects provide the same functionality (there used to be
such effects before but not anymore)
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
if openbox still fails to launch check the system log, it has not been
maintained for years so I do not expect a crash to get fixed
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
by using KProcess::setShellCommand() the Exec key can contain not only
program but also arguments, ksmserver splits the Exec key already (see
kde-workspace/ksmserver/server.cpp)
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
completing what I started when I made the effects builtin, the
configuration modules for the effects are (and will probably remain)
plugins tho
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
if it crashes a startup error will be shown via `xmessage`, there will
be not window manager (most likely) at that point and many things will
not work as expected.
ksmserver cannot be restarted for example, drkonqi is not option either
because attempting to report a bug will open a browser but the backtrace
cannot be copied (the browser window will be on top of any other window
if it launches with no way to switch to the drkonqi window), etc.
in other words - the best thing that can be done is log the backtrace to
the system log (the ksmserver debug area has to be configured for that)
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>