Martin Gräßlin
e0470ae7cc
[interactiveconsole] Fix KWin's dbus service name
...
There is now one service name to rule them all.
12 years ago
Marco Martin
755eafdf89
make sure the temp dir where we save exists
12 years ago
Marco Martin
d307d1e838
recycle activities if possible
...
when creating an activity, if there exists an activity that
doesn't have containments, reuse the activity and create a containment for it
12 years ago
Aleix Pol
6868e291e8
Initialize KScreen together with ShellCorona
...
This way we make sure it's not accessed before it's initialized
BUG: 334752
12 years ago
Aleix Pol
1c69f84fd9
Only skip placement checking if the primary property is different
...
CCMAIL: 334502
12 years ago
Marco Martin
8f2704069a
delay view destruction, crash--
12 years ago
Aleix Pol
f493b7ddbd
small simplifications
12 years ago
Aleix Pol
9f9ba633c1
Improve how the primary screens are sorted
...
Only take it into account if the primary value is different in both screens
BUG: 334502
12 years ago
Marco Martin
cadb3f0e15
don't crash
...
in a startup script, d->panelViews won't contain panel
at least don't crash, but i still think the whole foreach loop is wrong
12 years ago
Aleix Pol
a30520570c
Make sure views are inserted in the correct place
12 years ago
Aleix Pol
700e563ea1
--debug
12 years ago
Aleix Pol
2e62655b62
Fix connection
...
Qt::UniqueConnection doesn't work well with lambdas, as it's actually a new
connection every time.
Turn it into a method so that Qt can make sure we're connecting only once.
12 years ago
Aleix Pol
ee66ea32f7
Fix crashes
...
Let outputToScreen not to crash if the output is null. Just return a further
null pointer
12 years ago
Martin Gräßlin
654287f7ef
Do not set a custom format on QQuickWindows
...
All QQuickWindows share a default format. By setting a custom format
it overwrites the default and this results in a format without a
stencil buffer being requested resulting in possible rendering errors.
This was used to get an alpha buffer. Instead use the static method
on QQuickWindow to request an alpha buffer.
REVIEW: 118123
12 years ago
Marco Martin
dc53d4dae9
fix panel creation from script
...
BUG:334736
12 years ago
Marco Martin
3674d5c882
fix crashes in *some* cases during containment switch
...
the full fix depends from the upstream fix of
https://bugreports.qt-project.org/browse/QTBUG-38982
CCBUG:333728
12 years ago
Martin Gräßlin
3f1207fcf9
Adjust to changes in KAboutData
...
This should fix the build.
12 years ago
Martin Gräßlin
d0c04df878
[plasmashell] Call QQuickWindow::setDefaultAlphaBuffer
...
It needs to be called once to ensure that an opengl context with alpha
buffer gets created.
Reviewed-by: Marco Martin
12 years ago
Marco Martin
07acf2b367
don't assert when is windowed
12 years ago
Marco Martin
d9293b9d76
add todo
12 years ago
Marco Martin
b0643cb62d
the scriptengine is single use
...
destroy the script engine after use.
is usually used a single time anyways, so saves memory and executes
the code parts that in the bindings gets executed at destroy
such as wallpaper change
BUG:334667
12 years ago
Marco Martin
2ee75c4964
reenable panel hiding code
12 years ago
Marco Martin
9ebaa06c71
fix length and height controls
...
BUG:334707
12 years ago
Aleix Pol
a487749264
Make availableScreenRegion and screenGeometry work the same way
...
QDesktopWidgets id's don't apply anymore
12 years ago
Aleix Pol
3472ea285b
Some plasmoids ask for the screen when destructing
12 years ago
Aleix Pol
b37948000e
Improve predictability of plasma-shell screen id's
...
So far we were just enforcing that 0 would be the primary screen. After
this change we will make sure that the rest are layed out horizontally and
then vertically if there's a 2 at the same position.
If a new screen is connected, we'll try to put it in the correct position
following the described situation.
BUG: 334502
12 years ago
Aleix Pol
cf219897d6
Make it explicit that screenInvariants doesn't change anything
12 years ago
Marco Martin
2a8832f6e4
sync--
12 years ago
Marco Martin
b4c3b38bc1
make config options be applied immediately
...
even if a bit hacky, now the applets config options and
wallpaper are applied immediately
12 years ago
Marco Martin
d1c0b3356d
new binary name: plasmashell
12 years ago
Jonathan Riddell
043cf352f9
change version to 4.96.0 for beta
12 years ago
Aleix Pol
4e0d99c6e9
Fix crash when moving a panel from a screen to another
...
Remember to always set the object scope when connecting to a lambda
slot, otherwise things go a bit crazy.
12 years ago
Aleix Pol
20071929cf
Fix crash
...
Don't crash if we don't have the containment is not initialized when
we set the visibility mode to the parent
12 years ago
Marco Martin
d0cde0c59c
setScreen must be called with a valid containment
12 years ago
Aleix Pol
2052b81140
Remove hack for early initialization of PanelView
...
This broke screenForContainment because the Panel didn't know where it
would be placed when the panel is being set. This shouldn't be the case
anymore.
BUG: 334500
CCBUG: 334502
12 years ago
Aleix Pol
a03c1ce3cd
remove pointless output
12 years ago
Martin Klapetek
b1e8e969b3
Set panel struts properly
...
wholeScreen.x() (and .top()) is always 0, which results in struts being
set into negative numbers, which is wrong.
12 years ago
Aleix Pol
a167ee0269
Fix coding style issues in my changes
...
CCMAIL: mklapetek@kde.org
12 years ago
Marco Martin
30d2489930
set QSG_RENDER_LOOP as basic if not explicitly set
12 years ago
Marco Martin
0d118e9ab8
emit rect and region changed when a panel changes
12 years ago
Aleix Pol
7c641e5ab5
Remove random qDebug output
...
Makes it easier to spot the actual problems on the output. If there's
something that's actually indicating a problem, we should make it a
qWarning.
12 years ago
Aleix Pol
ccdb7173c3
Actually destroy the ShellManager when we're closing plasma shell
...
Arguably, ShellManager shouldn't be a singleton at all, but this is the
smaller correct change, for now.
12 years ago
Aleix Pol
97a181cd79
Don't adapt to the new screen if it's null
12 years ago
Aleix Pol
8e14def8ec
Fix some crashes on cleanup
...
Set a scope to lambda calls by passing the qobject, otherwise connects
persist after the object has been deleted.
Destroy the panel views when the ShellCorona is destroyed, otherwise they
stay available when the QScreen instances are cleaned up, provoking weird
crashes.
12 years ago
Aleix Pol
6ef06e82be
Some workarounds to make sure we can use libkscreen
12 years ago
Aleix Pol
df0091bbc2
Make it possible to set a screen to DesktopView and PanelView
...
Set all the winId dependent stuff whenever it changes, windows are recreated
upon screen change and we need to make sure the set properties are
honored after changing screens.
12 years ago
l10n daemon script
cf13f672b0
SVN_SILENT made messages (.desktop file)
12 years ago
Martin Klapetek
685fd46694
Emit proper signal on panel length changed
12 years ago
l10n daemon script
f6fa9c9cd7
SVN_SILENT made messages (.desktop file)
12 years ago
Aleix Pol
2c7c089976
Make it possible to move a DesktopView from a screen to another
...
This way we can move the DesktopViews around without re-creating them for
no reason.
12 years ago