Aleix Pol
b7c559e364
kcms/feedback: Properly fit the items inside the layout
...
Have horizontal items fit the layout's width, don't set an arbitrary
minimum width to the slider.
BUG: 455713
4 years ago
David Edmundson
8b1d83ff33
[ksmserver] Rename restoreSession(QString)
...
It doesn't actually restore a session merely queues up which session
ksmserver should be using when restoreSession is externally invoked.
4 years ago
David Edmundson
a22ff36edf
Fix session restore + kwin interaction race
...
KSMServer sets which session to use on startup
`KSmServer::restoreSession(QString)`
When the session is up and ready either systemd or plasma-session invoke
`restoreSession()` that actively starts restoring clients.
At some point we need to notify kwin which session we're using so that
it can handle restorng window properties such as the virtual desktop.
This was done in the first call, but this has no guarantee that kwin has
started yet. Without kwin getting the DBus call it has no information to
match up restoration information.
The state RestoringWMSession is dropped as it does nothing useful.
BUG: 442380
4 years ago
Fushan Wen
62cc135968
wallpapers/image: Hide background color when not needed
...
This avoids showing the background color during the transition.
BUG: 410313
FIXED-IN: 5.26
4 years ago
Fushan Wen
4f035ce6f9
applets/kicker: unify sort method in appsmodel and rootmodel
4 years ago
Fushan Wen
d1fdf67720
applets/systemtray: use the minimum size to calculate `cellWidth`
...
hiddenTasksView.availableWidth sometimes can be smaller than
popup.Layout.minimumWidth.
4 years ago
Tanbir Jishan
fb7f201f9d
Fix checkbox not switching when choosing an accent color using color picker
4 years ago
David Edmundson
050bf33555
[systemd] Use a better description for session restore unit
...
ksmserver has two services. One for the service itself, and a single
shot invoked later when we want to restore the session.
They currently both have the same description which isn't very helpful.
This text is not user facing in our UIs anywhere, only for devs.
4 years ago
l10n daemon script
d922d79390
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
Fushan Wen
2ecb63c127
kcms/colors: Port 2 foreach loops to for loops
...
This also fixes: Critical - Uninitialized variable: button (CWE-457)
4 years ago
Fushan Wen
b96d56ae17
kcms/fonts: Fix font hinting preview
...
In `combineImages`, the width and the height were calculated
incorrectly. This makes the preview image correctly obey the device
pixel ratio of the primary screen, so the preview image can be clear
and sharp.
BUG: 413673
FIXED-IN: 5.25.1
4 years ago
l10n daemon script
24b22270d7
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
Jan Blackquill
75d4b69da1
kcms/colors: rephrase UI to indicate changes to colorsapplicator (previous commit)
4 years ago
Jan Blackquill
a671178a8f
colorsapplicator: make accent-coloured titlebars more robust/foolproof
...
This makes the code and user-facing configuration for accent coloured titlebars
unable to produce some bad results that it previously could.
4 years ago
Fushan Wen
c1fb3388a1
wallpapers/image: remove unused QScreen header
4 years ago
Fushan Wen
6e43d46981
wallpapers/image: add animated image support
...
FEATURE: 454984
FIXED-IN: 5.26
4 years ago
Fushan Wen
013ad03370
wallpapers/image: add `MaximizedWindowMonitor` to monitor maximized window
...
This class monitors if there is any maximized window. It is used by
the animated image component.
4 years ago
l10n daemon script
189ff0c175
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
ivan tkachenko
6ca5d93222
[lockscreen] Convert a passwordBox property into a readonly alias
4 years ago
ivan tkachenko
4f475e865e
[applets/systemtray] Sync to plasma-desktop
4 years ago
Fushan Wen
81f6da8e3b
wallpapers/image: move baseImage to mediacomponent/ImageComponent.qml
...
It makes the frontend easier to be maintained, and in the future VideoComponent
will be added.
4 years ago
Fushan Wen
fa0f7396d1
wallpapers/image: remove redundant destroy call
...
The object does not need to be manually deleted. onDeactivated signal
will call destroy() to delete it.
(This reverts a8a455e8fe )
4 years ago
Fushan Wen
a8a455e8fe
wallpapers/image: fix a memory leak when pending image fails to load
...
This destroys the created image object when it fails to load.
4 years ago
l10n daemon script
0b7f20a81d
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
Fushan Wen
c109dc8b36
wallpapers/image: use `m_formattedSource` in `determineProviderType`
...
No need to call formatUrl again.
4 years ago
ivan tkachenko
adf20437b9
powermanagement: Fix log message formatting
...
Printing out QString takes care of adding both spaces and double quotes.
Otherwise, it used to be like this:
Data for ' "Battery1" ' not found
4 years ago
Aleix Pol
122be66ecc
Set up session for proper Xwayland clients scaling
...
If KWin Wayland is set up to let Xwayland clients to scale themselves,
set the configuration values we need for them to do so properly.
To do so, we extend the fonts kcminit module to provide a meaningful
default DPI to scale to and we set some environment variables for
applications to scale as expected. These are the ones we already were
using to properly scale in X11 sessions.
4 years ago
Aleix Pol
6ba01a5543
kcminit: Allow running modules by their name
...
Alternatively we require to pass an absolute path which is more
cumbersome than one would want.
4 years ago
Fushan Wen
1ed50d01b8
wallpapers/image: add avif and heif formats in metadata
...
This allows the two formats being set in the drop menu or using "Set as
Wallpaper" service action.
4 years ago
Fushan Wen
7d74e3cab2
wallpapers/image: add gif format support in "Set as Wallpaper"
4 years ago
Fushan Wen
3bc87f03e5
calendar: use normal type for EventPluginsManager, don't use singleton
...
It fixes that when there are multiple calendar applets, each applet
doesn't have its own EventPluginsManager.
BUG: 454846
FIXED-IN: 5.26
4 years ago
Fushan Wen
25aaec219e
wallpapers/image: store formatted source url
...
No need to call formatUrl every time using it.
4 years ago
Fushan Wen
62e3aef4c9
wallpapers/image: add support for gif format
4 years ago
Felipe Kinoshita
ed81b623ce
applets/digital-clock: name variables better
...
The previous names did not communicate what those variables were
responsible for.
Hopefully this can make things more understandable and help making
this bit of code more maintainable.
4 years ago
l10n daemon script
93fe23fac6
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
Fushan Wen
4a95a33b62
wallpapers/image: instantly apply wallpaper on color scheme changed
...
CCBUG: 207976
4 years ago
Fushan Wen
ba73809a78
wallpapers/image: add opacity animation in wallpaper item
4 years ago
Fushan Wen
f7dec7cfd9
wallpapers/image: add color change animation in wallpaper item
4 years ago
ivan tkachenko
a3d69b9323
[applets/systemtray] Config: Flatten row layout and remove default wrapMode
4 years ago
ivan tkachenko
da0e08d45d
[applets/systemtray] Config: Use valueRole and currentValue on ComboBox
4 years ago
ivan tkachenko
e6ad407b3b
[applets/systemtray] Config: Workaround horizontal scroll bar
4 years ago
ivan tkachenko
4c3667ebdd
[applets/systemtray] Config: Make const, not var
4 years ago
ivan tkachenko
210e7cd4b6
[applets/systemtray] Config: Specify sizing properties types as `real`
4 years ago
ivan tkachenko
f2c8900ff4
[applets/systemtray] Config: Remove unused properties
4 years ago
ivan tkachenko
f928688df3
[applets/systemtray] Config: Specify Kirigami based spacing on layouts
4 years ago
Fushan Wen
d1158b7997
applets/systemtray: fix the cell size to accommodate more tasks in a row
...
After the system tray popup is resized, the grid view should behave like
Kickoff to show more tasks in a row.
4 years ago
Fushan Wen
871d6104d3
shell/scripting: call `flushPendingConstraintsEvents` in `setLocation`
...
After location is set, one layout script will usually start adding widgets.
It's required to emit formFactorChanged() to update plasmoid.formFactor bindings
in QML side to avoid Layout issues.
See isHorizontal in plasma-desktop/containments/panel/contents/ui/main.qml
4 years ago
Fushan Wen
0dbcba3dec
wallpapers/image: replace `openFolder` with `Qt.openUrlExternally`
...
This makes ImageBackend lighter.
4 years ago
Fushan Wen
f246bf2938
wallpapers/image: remove unused imports and member variables in `ImageBackend`
4 years ago
Fushan Wen
b4d3e5e01d
wallpapers/image: use `Package::fileUrl` in `findPreferredImageInPackage`
...
This drops a redundant conversion.
4 years ago