Marco Martin
7996cffd44
add a SessionType property for desktopview
...
shell can notice if they are in application or shell mode
11 years ago
Marco Martin
fe45c8661d
port plasmashell to KPackage
11 years ago
Montel Laurent
10224679af
clean forward declaration
12 years ago
Marco Martin
8904525356
set the screen as soon as possible
...
set the screen in the constructor, to have the right one before
doing anything with the window, accessing the config or parsing
QML
CCBUG:339554
12 years ago
Aaron Seigo
3aa3a7324a
Normal -> Window
...
"Normal" is ambiguous and implies knowledge of the implementor's
bias. Window is specific / explicit.
12 years ago
Marco Martin
acd0aef096
remove fillScreen, introduce WindowedDesktop type
...
with this all cases needed for now are covered
12 years ago
Marco Martin
b94ee7f395
the standalone mode has own corona
...
in order to not complicate shellcorona too much use own corona and
completely bypass shellmanager in that case
12 years ago
Marco Martin
81d9650c68
get back fillScreen
12 years ago
Marco Martin
162297b7e1
expose a WindowType api to Desktop.qml
12 years ago
Aaron Seigo
0234bdcbb7
include 'plasmaquick' directly in the includes
...
makes it a lot easier to track where the problem spots are with a
`grep plasmaquick`
12 years ago
Aleix Pol
6a37e2027d
Restore view visibility
...
It sounds weird but it happens
Also make sure that the screen has been adapted before showing
12 years ago
Aleix Pol
dee53c9d00
Simplify the screen initialization process
...
Only set the screen right before triggering show(), otherwise it can mess
up for reasons I don't know.
Also I prefer not to pass the screen in the constructor, given that we
move the DesktopView instances across screens and it gives the wrong
impression that the view is tied to the screen.
12 years ago
Aleix Pol
130c276033
Fix DesktopView cleanup
...
Use the same strategy as the PanelView, overriding the screenDestroyed slot.
12 years ago
Vishesh Handa
9fd2842d78
DesktopView: Launch krunner on typing
...
This is consistent with the behaviour in Plasma 4.
BUG: 336692
REVIEW: 118937
12 years ago
Marco Martin
10e241cf8e
expose dashboardshown as readonly
...
remove the transparency stuff from the c++ part, beloongs to the qml part
12 years ago
Marco Martin
26ac36e27d
fire adaptToScreen only once
...
this makes the desktops and panels more deterministically
follow the primary screen
* adaptToScreen is useless per se in moveEvent, but what's worse will cause a recursion loop
* disconnect the geometry sync from the old screen
CCBUG:335710
12 years ago
Aleix Pol
f43263ba79
Let the DesktopView react properly to the package changed signal
...
It used to be done by PlasmaQuick::View done, but it was not correct as
it was hard-coding Desktop.qml there.
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
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