Vlad Zahorodnii
4fa725efa9
Fix overdraw on Wayland
...
Since the DesktopView has "transparent" clear color, it will allocate a
buffer with an alpha channel and QtWayland won't be able to set an
opaque region. This change sets the clear color of DesktopView to "black"
so overdraw can be fixed in kwin and to improve render performance on
wayland.
Cherry picked from commit 745e2c0828 ,
except that it also adds a platform check. Some people reported that
setColor(Qt::black) in DesktopView breaks panel translucency on X11.
A few of plasma developers have tried to reproduce that issue, but
couldn't. It needs more investigation. In meanwhile, let's set clear
color to black only on Wayland.
4 years ago
Aleix Pol
3520cd5a62
PanelView: Do not crash when the state is transitioning
...
BUG: 373461
(cherry picked from commit 61e935ea51 )
4 years ago
l10n daemon script
04e25ce4f6
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
4 years ago
l10n daemon script
6b947b6018
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
4 years ago
l10n daemon script
181199ccbb
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
4 years ago
l10n daemon script
a0a4320c6c
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
4 years ago
l10n daemon script
393a8e1561
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
4 years ago
l10n daemon script
8556ed8858
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
4 years ago
Marco Martin
9c04d56236
Delay setPrimaryOutputName on X11 nativeeventfilter
...
if we do immediately setPrimaryOutputName, the name is still :0.0
because the app didn't have time to react yet (since here we are in the event filter,
we are just before that by definition) so the output name can still be wrong.
when we go from no outputs to one, at this point the name of the one QScreen
instane is still wrong :0.0 which will be renamed right after.
BUG:447936
4 years ago
l10n daemon script
0d0b713076
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
4 years ago
l10n daemon script
96915c3248
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
4 years ago
l10n daemon script
5259ac39ab
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
4 years ago
l10n daemon script
594b933a1e
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
4 years ago
l10n daemon script
5a792e989f
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
4 years ago
Alexander Lohnau
ff19a1c343
Remove unneeded ServiceType definitions in json metadata
...
We already do the filtering based on the plugin namespace and no
longer through the SevriceTyoes.
4 years ago
l10n daemon script
7ebe49f96f
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
4 years ago
Aleix Pol
5291c77465
SystemDialog: Move the different implementations into a LnF file
...
This way a LookAndFeel package can override the dialog and trim it to
its needs.
4 years ago
Nicolas Fella
ca8f42fe95
Remove dead code for querying preferred service
...
The code tries to read files from /usr/share/kcm_componentchooser, however I can't find anything referencing these kinds of files.
4 years ago
l10n daemon script
41e9c0e65f
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
4 years ago
l10n daemon script
b64be79def
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
4 years ago
Marco Martin
03d37ed804
Consider fake outputs as not existent
...
when we disconnect all real outputs, we only have a single fake QScreen in this case consider corona to not have screens and remove all desktops and panels. makes easier for a coherent reconstruction when real screens get back and won't save in screen mapping the :0.0 connector name
4 years ago
l10n daemon script
07e7431c2a
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
4 years ago
l10n daemon script
c7689f5349
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
4 years ago
l10n daemon script
36cadc2c69
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
4 years ago
Laurent Montel
2543f1b843
GIT_SILENT: use Q_EMIT
4 years ago
Alexander Lohnau
e1856783c3
Remove now unneeded desktop files
...
Also the install code for some plugins that are already ported to json metadata
4 years ago
Alexander Lohnau
6d3b831cdb
Remove now unneeded desktop to json conversion code
4 years ago
Alexander Lohnau
5e8b5a41d1
Convert desktop files to JSON
...
Task: https://phabricator.kde.org/T14564
4 years ago
l10n daemon script
f258b6217a
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
4 years ago
Aleix Pol
468a59cbb3
shell: Make sure the primary output is initialised on X11 as well
...
BUG: 445589
4 years ago
David Redondo
14089755c3
No need to manually read defaultTheme
...
This is now handled automatically. The hierachy stays the same:
plasmashellrc, lnf, kpackage
4 years ago
Alexander Lohnau
c3201e74c2
Drop now unneeded QOverload statements
...
By defining the KF_DISABLE_DEPRECATED_BEFORE_AND_AT value, the deprecated overloads are hidden.
This way we only have the un-deprecated one visible.
4 years ago
Aleix Pol
0f2be58f14
shell: Add support to wayland primary outputs
...
Refactors XRandr support together with the new Wayland code into a
PrimaryOutputWatcher class.
For X11 it listens to xcb events.
For Wayland it uses the kde_output_management_v2 protocols.
4 years ago
Oxalica F
d39592c3c8
wayland: don't create DesktopView for placeholder screen
...
This fix crash when turn off and on the only primary display.
BUG: 438839
BUG: 444801
4 years ago
Méven Car
566e95af75
shellcorona: shorten the reconsiderOutputTimer from 1secs to 250ms
...
This timer is used to delay the shell state being refreshed and when a new screen is available.
It seems unnecessary to have such a long delay, once screen geometry are stable to work with.
4 years ago
Aleix Pol
6607bc232b
shellcorona: Check the containment as well when trying to activate
4 years ago
David Edmundson
13fb70fec1
[shell] Ignore placeholder screens
...
A placeholder screen is created by Qt when no real screens exist. We
don't want to create panels and containments for those, it is a whole
world of pain.
Plasma has a hook to ignore some screens which is extended with this
check.
CCBUG: 419492
4 years ago
Aleix Pol
ba95a11eda
Make it possible to activate containments as well
...
On the Plasma Phone shell, the containment acts as the menu, we want to
be able to access it there as well.
4 years ago
Alexander Lohnau
337513a016
Port away from KPluginMetaData::readStringList
4 years ago
David Edmundson
89edf22e80
[shell/panel] Fix ability to type in textfield
...
On wayland the setFlags call does nothing, metadata for interaction is
set through the ShellSurface, by default this does not have focus for
panels.
BUG: 442557
5 years ago
Aleix Pol
f3bfe3591c
Create the panels where the focus is by default
...
Using screenAt(cursor) is a bad idea in general. It doesn't work
properly on Wayland. We can't really tell where our cursor is, so it
always will fall about wherever our top-leftmost screen is.
Instead, just create them wherever we gave focus last.
5 years ago
David Edmundson
690e2066b8
Revert "screens pool: On Wayland the 0 screen id is not the primary"
...
This reverts commit 71ee728bd7 .
Apparently not all discussion was resolved.
5 years ago
Aleix Pol
71ee728bd7
screens pool: On Wayland the 0 screen id is not the primary
...
There is no primary on Wayland, we were trying to make one up and making
everything worse in turn.
Instead, have the screen to connector mapping be stable across
executions. Each screen will look as configured, which makes it all more
predictable and we do not run into cases where we swap displays
configurations because the other one happened to be the primary this
time around.
5 years ago
Alexander Lohnau
368143329e
Protect agains messed up plamashell config
...
In case the config was written before 5b8f8bd12 , a malformed value is written
Otherwise plasmashell could not be started at all
5 years ago
Aleix Pol
6869c5292f
shell: --warnings, port away from deprecated APIs
5 years ago
Aleix Pol
801ddfbe19
shell: Port to compile-time connects
5 years ago
Aleix Pol
86a7bf786f
shell: Readability, remove uses of QWeakPointer::data()
...
the operator-> is smart enough to know what to call.
5 years ago
Aleix Pol
9aa0bc24ec
shell: Just parse the key once
5 years ago
Aleix Pol
47fa049b5f
shell: Remove 2x lookup
5 years ago
Aleix Pol
efa083ff8d
Remove 2x look-up
5 years ago