Aleix Pol
e824b98369
Take into account the primary screen can be redundant
...
We will always try to put our desktop view in the biggest screen, when 2
are overlapping.
12 years ago
Aleix Pol
d5a8783492
Delayed primaryOutput processing needs to be delayed
...
Don't process it right away
12 years ago
Aleix Pol
91a5bce1cc
Delayed primaryOutput processing needs to be delayed
...
Don't process it right away
12 years ago
Aleix Pol
2ea83cf298
Remove unneeded sort to loop through the outputs
12 years ago
Aleix Pol
b16b90f108
Fix build
...
Apparently you need to have Qt 5.4 for using lambda with QTimer::singleShot
12 years ago
Aleix Pol
c07e590a90
Fix possible crash.
...
Add another check for not trying to figure out the plasma shell
in the plasmoid loading nested event loop.
I hate the incubator event loop with all my passion.
12 years ago
Aleix Pol
47502b3064
Add the new desktop to the remaining output, not the actual new screen
...
The new screen might already have been adopted by an already-present
desktop.
12 years ago
Aleix Pol
f90d4acd99
Don't try to change the primary if we are already at the primary.
...
Reviewed by David Edmundson
12 years ago
Aleix Pol
ab084fbec3
--debug
12 years ago
Aleix Pol
e875cc692a
Fix crash when disconnecting a screen when using Qt 5.4
...
The hack we used to have is not working anymore because they changed how
Qt works (And it was a hack after all).
On the other hand, on Qt 5.4 we can use the API I added for this purpose,
so listen to screen removed before the window is shuffled somewhere else
so we can cleanly remove the view.
Reviewed by DJ Edmundson
12 years ago
Aleix Pol
d801804271
--debug
12 years ago
Marco Martin
979981b876
signal availableScreenRectChanged on type change
...
signal a change on availableScreenRectChanged since
containments are born with their availableScreenRect at full screen
BUG:339412
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
Jeremy Whiting
2ee9e8857f
DigitalClock: Add timezone information to digital clock tooltip.
...
REVIEW:120358
(cherry picked from commit 43ecaacc63 )
12 years ago
Jeremy Whiting
43ecaacc63
DigitalClock: Add timezone information to digital clock tooltip.
...
REVIEW:120358
12 years ago
Marco Martin
e0242f07c4
export PanelView as well, so its enum can be accessed
12 years ago
Marco Martin
902d848ed5
ensure screen() is correct
...
use the views or panelviews if they exist already, fallback to lastScreen()
12 years ago
Marco Martin
ad31939ebf
take theme name also from the shell package if avail
...
the look and feel package still wins.
tough for applications is the shell that sets it
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
c81e52acfe
don't modify shellcorona, is already complex enough
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
c3934b129b
custom theme if standalone app
12 years ago
Marco Martin
fa62974dcb
don't do multiscreen if we are a standalone app
12 years ago
Marco Martin
162297b7e1
expose a WindowType api to Desktop.qml
12 years ago
Marco Martin
68225d8075
view::fillScreen false is a perfectly legal value
...
fillScreen is a behavior defined by the shell corona, some shell packages don't want that
12 years ago
Ivan Čukić
699407128a
Fixing screen invariants to support containments without an assigned screen
...
Containments that have no assigned screen keep -1 as the id of the
screen. For those, the previously defined asserts would fail not
allowing plasma shell to start in debug mode.
12 years ago
Marco Martin
6970bc2fb7
consider CustomPanelContainment case
...
REVIEW:120179
12 years ago
Marco Martin
8e0068c64c
correct screen() even when is still starting up
...
If screenForContainment() depends on the existence of the view instance,
while the corona is starting up, screen() will return -1 for a while,
changing the behavior depending where is called.
this patch makes screen() return a stable final value, even before any
view has been created.
this is (also) needed for correctly keeping track of what containments
are still loading, what finished.
REVIEW:120179
12 years ago
Marco Martin
2b9088606c
containment loses screen if its activity not current
...
when the current activity changes, all desktop containments, having the old
activity lose their screen
12 years ago
Marco Martin
93ed2cb13d
restore kiosk disable for unlocking widgets
...
Fix regression:
restore support to
plasma/plasmashell/unlockedDesktop
in
[KDE Action Restrictions]
see https://techbase.kde.org/KDE_System_Administration/Kiosk/Keys#Plasma
12 years ago
Marco Martin
35dc2b60d5
set a default package in the l&f structure
12 years ago
Marco Martin
3a018d496f
add a default fallback to lnf packagestructure
...
remove lookandfeelaccess from the shell
12 years ago
Aaron Seigo
1d3d9ce8e8
ShellPluginLoader is no longer necessary
12 years ago
Aaron Seigo
3a07bc8b73
yet more consistency
12 years ago
Aleix Pol
11ff706c40
Prevent stupid crash
...
BUG: 338637
12 years ago
Aaron Seigo
e8b50316e4
consistency and readability: get rid of static file methods
...
the screen related static methods are just as well served by being
class members: they aren't used elsewhere, were being passed the same
internal datamembers repeatedly, etc.
also move them below the constructor to where they generally make
more contextual sense.
12 years ago
Aaron Seigo
f2a6cc67a7
get rid of dptr
...
this is not a library, the overhead is unneeded.
12 years ago
Aaron Seigo
8336c30ae2
remove some debugging
12 years ago
Aaron Seigo
b9fbc59d20
make just one plugin out of both components
12 years ago
Aaron Seigo
903b83dd06
add a scriptengine to the root context of the interactive console QML
12 years ago
Aaron Seigo
9d9acc9c06
desktopscriptengine is not longer needed
12 years ago
Aaron Seigo
b50dbfdbf3
remove include that is no longer there
12 years ago
Aaron Seigo
25771ea19c
rely on qml to create the interactive console interface
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
Aaron Seigo
a4bd55b676
rename the alternativesdialog* files to anteraltiveshelper.*
12 years ago
Aaron Seigo
2db8cd6373
make the alternatives *dialog* a helper
...
this places the responsibility on the shell package and removes
the assumption that the alternatives UI is a dialog that is placed
alongside the applet. that, my friends, is a desktop form factor
assumption.
12 years ago
Aaron Seigo
f4ab2f16bc
use the appletalternativesui package path
12 years ago
Aaron Seigo
fb0d0dec90
always set the first view to the new primary
...
even if we don't have a view on the old primary, this still needs
to be set
12 years ago
Aaron Seigo
f41da61096
count was used 10 times, size 6 times; count wins and gets all 16
12 years ago
Aaron Seigo
345b9441e1
back out this part of the clean_shellcorona merge
...
addOutput checks for being enabled and if the pointer is null.
this method is also only called due to a connection made in
addOutput
12 years ago