Nicolas Fella
7b94f03c0f
[libtaskmanager] Consider resource name for XWayland windows
...
Like we do in an X11 session
BUG: 447845
CCBUG: 358277
4 years ago
Volker Krause
97d5e6b526
Remove pointlessly setting the desktop widget as the job window
...
If there is no top-level widget (like is the case in Plasma) this has no
effect other than breaking the Qt6 build.
See https://invent.kde.org/teams/frameworks-devs/kf6-workboard/-/issues/3#note_431586
4 years ago
l10n daemon script
7e8719e8f6
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
Nate Graham
f11ce7b9e2
Set a sane minimum size
...
We need to take into account the main item's dimensions in the minimum
width and height properties.
4 years ago
Eugene Popov
153e6e1401
[Lock Screen] A better fix for BUG 450238
...
Actually, the commit I reverted doesn't fix the specified bug. But this MR will fix it.
BUG: 450238
4 years ago
Eugene Popov
9cb17caefc
Revert "Top-align lock/login/logout screen action buttons"
...
This reverts commit dde0f20b23 .
4 years ago
Yari Polla
5098ad492f
libtaskmanager: add new sort mode
4 years ago
Nate Graham
b32638496a
kcms/colors: remove dead code
...
We go through a bunch of effort to set m_applyToAlien, but then never
use it anywhere. It must not be very important here.
4 years ago
Nate Graham
1c69e1a32f
SystemDialog: re-add removed public properties
...
The minimumHeight: and minimumWidth: properties were removed by mistake
in 63b8aa0681 . This commit re-adds them.
4 years ago
Bharadwaj Raju
3d47a5f2eb
kcms/nightcolor: Show live temperature preview
...
Allows live preview of what Night Color will look like when active. Now
users don't have to find a temperature they like by trial-and-error.
Requires https://invent.kde.org/plasma/kwin/-/merge_requests/1931
4 years ago
David Redondo
8b054656dd
kcms/cursortheme: Make the cursor preview on hover animated again
...
I removed that feature when killing the X specific code just using
the pixmap setter in 9f4ad82c5b5c47f6e3a3ed78ce559de4db361c78 (plasma-desktop).
To make it work we can drive the animation ourselves.
4 years ago
David Redondo
5795b25e73
kcms/cursortheme: Convert some foreach
...
GIT_SILENT
4 years ago
David Redondo
346f69ecc5
cursortheme: remove unused function
...
GIT_SILENT
4 years ago
l10n daemon script
d19af15f6f
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
85c90df7ae
wallpapers/image: Multiply devicePixelRatio for targetSize
...
This fixes that "Open Containing Folder" highlights the image with a wrong resolution
in a package.
4 years ago
Martin Seher
dbc2488fde
use createMethodCall instead of QDBusInterface
4 years ago
Fushan Wen
fc4c89c6f5
wallpapers/image: Move plugins to plugin folder
...
This conforms to the convention, and make the root folder less crowded.
4 years ago
Fushan Wen
cab736b29f
wallpapers/image: Move SortingMode enums to sortingmode.h
4 years ago
Fushan Wen
956fdd0b34
wallpapers/image: Rename Image to ImageBackend
...
This avoids confusion with QML Image.
4 years ago
Jan Blackquill
6750353c9f
kcm/colors: don't dull accent colour on dark themes in colorsapplicator
...
User demand shows that bright accent colours are wanted over potentially
better legibility, so let's avoid changing them.
BUG: 442820
FIXED-IN: 5.25
4 years ago
Jan Blackquill
fa7b051471
clang-format the colors kcm
4 years ago
Martin Seher
4150506920
Show krunner on active output on Wayland
...
QCursor::pos does not work under Wayland. So use active output from KWin to
determine startup screen. This will also honor the 'Active screen follows
mouse' option from Window Behavior (also under X11).
Depends on KWin merge request https://invent.kde.org/plasma/kwin/-/merge_requests/2209
BUG: 427069
FIXED-IN: 5.25
4 years ago
Fushan Wen
df461ae414
wallpapers/image: Use onActivated instead of onCurrentIndexChanged
...
This fixes sometimes the combobox is set to an incorrect index.
4 years ago
Fushan Wen
fc9b7f0c6a
wallpapers/image: Break in setMethod
...
No need to continue loop after currentIndex is set.
4 years ago
David Redondo
16ae8b9e69
appmenu: Use existing menu in compact represenation
...
There's no need to reconstruct the entire menu, when it exists already.
Also shows correct behavior on Wayland because the imported menues have
correct parents compared to the new one.
BUG:438467
4 years ago
Xu Zhao
28537cf3ff
Change the text color when appmenu is selected or hovered
...
When the mouse hovers the appmenu item, the text color should be inverted to the background
color. Before this commit, the text was still the same color as the "REST" state, making it
difficult to recognize.
4 years ago
David Edmundson
2f62e06634
[kcms/color] Trigger new blend effect when changing palettes
4 years ago
Arjen Hiemstra
1f92caf39e
Don't use forceActiveFocus to set search field focus
...
Instead just set the right focus properties so that we are actually
declaring what we want instead of bypassing all the focus mechanisms.
This also uses Plasmoid.expanded to ensure we reevalute the focus
binding when the applet is reshown so it is in a known state.
4 years ago
Alexander Lohnau
ae89638eef
KRunner: Disable help button when runner is disabled
...
BUG: 451509
4 years ago
Fushan Wen
88c3f46597
wallpapers/image: Port FLT_MAX to `std::numeric_limits`
...
This conforms to the standard.
4 years ago
Fushan Wen
6116646b84
wallpapers/image: Specify changed role in dataChanged
...
This improves the efficiency.
4 years ago
l10n daemon script
86db501333
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
Nate Graham
3aa4829823
applets/digital-clock: give PlaceholderMessage checkmark icon
...
We use a checkmark icon for the notifications applet since having no
unread notifications is considered a good thing. In this busy modern
world, having no scheduled events on a particular day can be considered
in the same way, so let's use a checkmark icon here too.
4 years ago
Nate Graham
6b261e1dda
applets/digital-clock: Use real PlaceholderMessage in events view
4 years ago
Alexander Lohnau
f29c7b10db
Fix locationsrunner test on BSD CI
4 years ago
Fushan Wen
4eb900ae6f
applets/mediacontroller: Move OpacityAnimator to Loader
...
This fixes flickering when switching from artwork to fallback icon.
4 years ago
Nate Graham
1e8d27d05f
applets/systemtray: Use Kirigami font properties in settings window
...
This thing isn't using Plasma Components, so it shouldn't get its font
sizing stuff from PlasmaCore.
4 years ago
Jan Blackquill
60acc5f1a4
applets/notifications: add a percentage by bar
...
Often, it's hard to gague a numeric 'how much is that' from larger
file transfer jobs, e.g. '150 MB of 7 GB' isn't trivial to guess
a rough percent from. Adding an explicit percentage makes these cases
far easier to gague numerically.
4 years ago
Aleix Pol
d4487d494f
Port plasmoid context property to Plasmoid.self in Connections.target
...
It's a Qt 5 bug that target cannot take an attached object as a value
there. It's the reason why Plasmoid.self was introduced in the first
place.
4 years ago
Fushan Wen
f043a4b6c7
klipper: Don't use `beginInsertRows` every time adding a new item when loading history
...
Currently, every time adding a new item, `beginInsertRows` and
`endInsertRows` are called, which is not efficient. Use `beginResetModel`
and `endResetModel` before and after loading history items to avoid
frequently emitting inserted signals.
CCBUG: 450989
4 years ago
Fushan Wen
a0040bdb6b
applets/devicenotifier: Put PlaceholderMessage in a loader
...
This saves some resources
4 years ago
Fushan Wen
66430dc50f
applets/devicenotifier: Give PlaceholderMessage an icon
...
Use "drive-removable-media-symbolic" when there is no item in the list.
4 years ago
Fushan Wen
4ba310120c
applets/clipboard: Put PlaceholderMessage in a loader
...
This saves some resources.
4 years ago
Fushan Wen
154c53f481
applets/clipboard: Give PlaceholderMessage an icon
...
Use "edit-paste" when there is no history item, or "edit-none" when the
filter returns nothing.
4 years ago
Fushan Wen
2242972a1f
applets/notifications: Put PlaceholderMessage in a loader
...
This saves some resources.
4 years ago
Fushan Wen
1fba44e96f
applets/notifications: Give PlaceholderMessage an icon
...
Use "checkmark" when there is no unread notification, or "notifications-disabled"
when the notification service is not available.
4 years ago
Andreas Sturmlechner
dcec2cdb3b
Add missing KCoreAddons link
...
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
4 years ago
Andreas Sturmlechner
a78c9d9aa2
Add missing KF5Auth dependency
...
Used in runners/kill and kcms/kfontinst/dbus
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
4 years ago
Volker Krause
42e5eea0b8
Remove the last use of QTextStream::codec(), which is gone in Qt6
...
We never set a codec on the stream we get here, so it's always the default,
the codec for the current locale.
4 years ago
Nate Graham
92cd7451e9
applets/notifications: address TODO by using PlaceholderMessage subtitle
...
Now that we depend on a new enough version of PlaceholderMessage, we can
use its explanation: property to display a subtitle, rather than a child
Label item.
4 years ago