Eike Hein
00e2528ae1
Make setting min/max panel length shift the opposite max/min bounds as needed.
12 years ago
Eike Hein
8ee965ee87
Expose min/max length panel properties to desktop scripting.
...
The length property setter now does an appropriate bounds
check instead of setting the min/max length properties as
well.
REVIEW:118206
12 years ago
l10n daemon script
a85f5bc9e3
SVN_SILENT made messages (.desktop file)
12 years ago
Marco Martin
23c8cc7e1d
don't return wrong available area when moving panel
...
BUG:334892
12 years ago
Marco Martin
8811051d6e
close dashboard with Esc
...
BUG:334842
12 years ago
Aleix Pol
3344b792f6
If the panel is not initialized, also return a default value
...
Instead of crashing
12 years ago
Aleix Pol
2d89689f38
Don't make the panel visible right in the constructor
...
It will end up showing upon restore, when things are more initialized.
12 years ago
Aleix Pol
c3a22582a8
Remove uses of QDesktopWidget
...
It does weird things behind doors, like instantiating and displaying a
widget. We don't want that when loading plasma.
12 years ago
Aleix Pol
167fb46de0
Set the screen on the Panel before setting the containment
...
Otherwise it might be initialized in the wrong screen and then it has to
be re-positioned.
12 years ago
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