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
Aleix Pol
168c15a463
Adopt libkscreen to get information of the screens
...
Qt subsystem has deficiencies on their approximation to multiple
screens. [1]
This patch adopts libkscreen to figure out screen additions and primary
modifications.
I'm not merging to master yet as I'm experiencing some issues but it's
already far more comfortable to work with than QGuiApplication::screens().
[1] https://bugreports.qt-project.org/browse/QTBUG-38404
CCMAIL: plasma-devel@kde.org
12 years ago
Aleix Pol
651713374b
Revert "Drop some unneeded QDesktopWidget references"
...
This reverts commit 60ae68a432 .
12 years ago
Aleix Pol
60ae68a432
Drop some unneeded QDesktopWidget references
...
Mostly includes without usage
12 years ago
Marco Martin
b1f89f51b3
don't try to show containment config for applets
...
only show containment config when cont->isContainment()
BUG:334034
12 years ago
l10n daemon script
7340ee7972
SVN_SILENT made messages (.desktop file)
12 years ago
l10n daemon script
02b92c46d5
SVN_SILENT made messages (.desktop file)
12 years ago
Marco Martin
61ecbd1c9f
add an option to force a shell
...
will be necessary to develop any other shell
12 years ago
l10n daemon script
55744e1106
SVN_SILENT made messages (.desktop file)
12 years ago
l10n daemon script
bc51c4f2b0
SVN_SILENT made messages (.desktop file)
12 years ago
l10n daemon script
c12cad775c
SVN_SILENT made messages (.desktop file)
12 years ago
l10n daemon script
8356528abc
SVN_SILENT made messages (.desktop file)
12 years ago
Aleix Pol
b0068a09cf
Port plasma code to PLASMA_RELATIVE_DATA_INSTALL_DIR
12 years ago
l10n daemon script
0054ac7f20
SVN_SILENT made messages (.desktop file)
12 years ago
Marco Martin
57068febe4
port to KConfigLoader
12 years ago
Aleix Pol
3df9ed42c0
Adapt the PanelView to the new item status in plasma-framework
...
Support RequiresAttentionStatus from the panel, by displaying auto-hide
panels when plasmoids set it as status.
REVIEW: 117723
12 years ago
l10n daemon script
f1f2804ccf
SVN_SILENT made messages (.desktop file)
12 years ago
Marco Martin
400a598325
remove focus from main item as view loses it
...
CCBUG:331971
12 years ago
Marco Martin
7cb2d06802
move splashscreen notification in plasma-shell
...
wait startupcompleted() to be emitted before telling the splash we're done
12 years ago
l10n daemon script
a0a3b12fd4
SVN_SILENT made messages (.desktop file)
12 years ago
Marco Martin
57e4c450ac
try to resize the panel beforehand
...
avoids unnecessary resizes and should speedup startup
12 years ago