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
Aaron Seigo
5454806953
more style fixes
12 years ago
Aaron Seigo
e03f076687
non-recursive version that doesn't march panels to the last screen
...
rather than implementing it as a (harder to read) recursive
function, simply start from the second-to-last item in the list and
march backwards until it hits the index being removed, moving the
panels and desktop forward as it goes.
previously it was starting from the index being removed, moving
the panels to the next screen, then processing the next screen
at which point all the panels on idx would now be on idx+1's screen
and they'd get pushed forward again. on a 4 screen system with
panels on each i bet that was fun to watch.
this should be both less buggy and easier to comprehend code.
12 years ago
Aaron Seigo
3dbe72513d
instead of tracking an index, act directly on the item
...
cleaner, easier to read code
12 years ago
Aaron Seigo
a9278ba761
only add the output if it is enabled
12 years ago
Aaron Seigo
33db4c5cb0
clean ups of dead code and code style violations
12 years ago
Aaron Seigo
2fa2a17aae
--deadcode;
12 years ago
Aaron Seigo
2a592e7969
put the invariant checks into a debug only block
...
they do nothing if not making a debug build, other than to create
compile time warnings
12 years ago
Aaron Seigo
f720c8b714
removeScreen -> remove(DesktopView*)
...
better name, simpler implementation
12 years ago
Marco Martin
0535a16161
restore "add panel" context menu functionality
12 years ago
Aleix Pol
9da8d520d2
Loop through the outputs to figure out what is the primary output
...
The primaryOutput method in KScreen is not consistent with Output::isPrimary
and made plasma shell become a bit inconsistent too.
Loop through the outputs for now, until we've got a better solution.
BUG: 338109
CCBUG: 335710
12 years ago
Marco Martin
030f536383
use the proper l&f package, with LookAndFeelAccess
...
still not enough but a part of 337757
CCBUG:337757
12 years ago
Marco Martin
1e45e7ddb6
set cursor theme too
...
requires a reboot, lnf kcm has to be moved to plasma-desktop to be able to have all the needed code from the otehr kcms
12 years ago