Commit graph

250 commits

Author SHA1 Message Date
Niccolò Venerandi
c2312d5863 applets/showdesktop: manually restore focus for minimized windows
Restoring the windows only un-minimized them, so the window that had focus came
back without it and typing went to the desktop. Remember the active window when
minimizing and activate it again after restoring.

BUG: 450137
2026-11-03 19:57:29 +01:00
l10n daemon script
ac251b9878 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"
2026-10-05 01:51:33 +00:00
l10n daemon script
be905c9e6f 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"
2026-09-27 01:44:33 +00:00
l10n daemon script
73bc5b4527 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"
2026-09-23 02:00:31 +00:00
Christoph Wolk
db1d6b066f drop qmllint disable unqualified
For a while, we used "qmllint disable unqualified" on lines containing
i18n calls to get the linter to shut up about them. The better way to do
this (since Qt 6.11) is to register them with qmllint as context
properties, which we now do centrally for the whole project.

So remove them all. This reduces noise in the codebase, and will still
show other unqualified lookups on the same line, making it possible for
qmllint to find them.
2026-09-04 08:21:45 +00:00
l10n daemon script
b9054e5bea 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"
2026-08-19 01:44:06 +00:00
l10n daemon script
37845b5d43 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"
2026-08-13 01:48:45 +00:00
Antti Savolainen
598b01c981 minimizeall, showdesktop, folder: update BugReportUrl
The bugzilla components were updated to match their display names
2026-08-11 09:23:41 +03:00
Antti Savolainen
48eb81fa25 applets/{folder,showdesktop,minimizeall,kickoff,showActivityManager}: fix BugReportUrl 2026-07-27 10:13:25 -04:00
l10n daemon script
f4460d43a4 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"
2026-07-23 01:40:11 +00:00
l10n daemon script
d06db27e5b 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"
2026-06-03 02:21:04 +00:00
l10n daemon script
b770810416 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"
2026-02-13 01:40:43 +00:00
l10n daemon script
d287cea212 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"
2026-02-03 01:44:19 +00:00
l10n daemon script
525945b6ff 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"
2026-01-30 01:40:30 +00:00
Christoph Wolk
9c1becd7bb add translation contexts
This change adds translation contexts to all translatable strings in qml
files that did not have any. Occasionally, the existing translation
contexts are updated for consistency with the newly added ones.

The string themselves are unchanged, save for one instance where the
Accessible strings were somewhat awkward and were a bit streamlined, and
one set of accessible  strings in PanelConfiguration that were not
marked as translatable, but are now.

Co-authored-by: Nate Graham <nate@kde.org>
2026-01-07 10:44:24 +00:00
Christoph Wolk
6179cc55e6 applets/showdesktop: linting
Implements some things that make qmllint happy: set 18n lines to
disabled unqualified warnings, make parameters explicit, qualify acess
where possible and the like. Also unversions the imports.
2025-11-26 22:19:18 +00:00
Nicolas Fella
80b75c0de0 [applets/showdesktop] Port to plasma_add_applet 2025-09-19 15:18:36 +02:00
l10n daemon script
266c71e737 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"
2025-09-09 02:09:21 +00:00
Marco Martin
15ce3505b0 applets/showdesktop: fix minimizeAll
Minimizeall logic was a bit broken: used bitwise AND and was
checking for currentdesktop and currentActivity without managing the
case for "all activities" and "all desktops"
with the case for "all desktops" being different between wayland and X11

BUG:506734
2025-07-10 18:20:18 +02:00
Nate Graham
2f89315363 Correct Bugzilla URLs
BUG: 505340
FIXED-IN: 6.3.6
2025-06-09 15:11:49 -06:00
Nate Graham
a5a7a990c7 applets/minimizeall: don't pretend to be Peek at Desktop in edit mode
The Minimize All and Show Desktop widgets cleverly share code and are
capable of undoing one another's actions when invoking the other's
functionality from the context menu.

However this becomes less useful while in Edit mode, which invokes "Peek
at Desktop" automatically. Then both widgets claim to be "Peek at
Desktop" and it can be hard to tell which one is which as you make
changes. So let's not do that.

BUG: 503624
FIXED-IN: 6.4.0
2025-05-08 07:17:39 -06:00
l10n daemon script
4870e97d70 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"
2025-04-05 01:31:06 +00:00
Kristen McWilliam
25a51c2673 [applets/showdesktop] Port to declarative type registration
Enables LSP & linting for the QML files.
2025-04-01 22:37:57 +00:00
l10n daemon script
62302ae6e9 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"
2024-12-15 01:39:43 +00:00
Laurent Montel
edc07e1374 Add missing include moc 2024-12-11 06:20:21 +00:00
l10n daemon script
e0fecd5b2d 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"
2024-09-20 01:27:00 +00:00
Christoph Wolk
a40dee9864 applets/showdesktop: Minimize All in LRU order
The Minimize all order currently walks through the windows in an
unsorted manner and requests minimization of each applicable window.
This can lead to a race condition if the order is unfortunate and the
requested minimizing happens after the applet is set to active (and thus
listening for windows that recieve focus). If focus is briefly passed to
another window then, the list of minimized windows is cleared, and the
minimized windows can no longer be restored by clicking the applet
again.

This change makes the applet instead walk through the list in least
recently used order, so that the window with focus is requested to
minimize last, and therefore no other window receives focus briefly
before it minimizes itself. This way, the ability to restore windows
consistently works, rather than only sometimes.
2024-09-16 13:04:02 +00:00
l10n daemon script
18eaf61502 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"
2024-09-12 01:21:58 +00:00
Christoph Wolk
40dc02afa9 applets/showdesktop: fix Minimize All active title
The Minimize All action when active (i.e. the action will undo Minimize
All" currently says "Restore All Minimized Windows". This can be
misleading, as undoing the "Minimize All" action is not the same as
un-minimizing all windows; windows that already were minimized prior to
using Minimize All will (and should) stay minimized.

This changes replaces the sometimes incorrect title with the unspecific
but accurate "Restore Windows". The translation contexts are also
updated to more concretely reflect how these strings are actually used
in the UI.
2024-09-11 19:40:58 +02:00
Christoph Wolk
1e2fb8865e applets/showdesktop: vary labels instead of checkbox
The Peek at Desktop and Minimize All Windows applets have context menu
entries that allow accessing either function; they currently use
checkable menu entries. This makes the entries look like settings,
rather than actions the user can trigger, leading to confusion.

This change removes the checkable property and instead uses the already
existing action labels as the context menu entries. Icons are also set
to fill the space previously used by the checkboxes.

BUG: 492717
2024-09-11 19:40:58 +02:00
l10n daemon script
fc053234df 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"
2024-08-28 01:29:48 +00:00
Christoph Wolk
48c27d32b9 applets/showdesktop: limit Minimize All by desktop/activity
The Minimize All widget currently minimizes all windows on all virtual
desktops, which is likely not what the user intended. The same, perhaps
even more counterintuitively, is true for activities.

I have changed this so that the widget now tracks the active state and
the lists of windows that it minimized (if any) separately per
activity/desktop combination. A user can now press Minimize All, do all
sorts of other things on other activities/desktops, come back to the
original desktop in the original activity, press the button again, and
have their windows restored. I think this is a significant QoL upgrade
over the existing version, where restoring will not work if the user
activated any window, even if it was on another activity or desktop. 

This is a change in default behavior with no configuration option. I think 
it's enough to do the right thing and not clutter up the UI with irrelevant
options; see also comment 1 in BUG: 475507. If desired, I can make the
behavior optional later.


FEATURE: 475507
FIXED-IN: 6.2.0
2024-08-27 16:11:38 +00:00
l10n daemon script
f5f0c2a6ab 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"
2024-07-11 01:19:01 +00:00
l10n daemon script
bcdca2186b 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"
2024-06-28 01:24:52 +00:00
l10n daemon script
e052d389ed 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"
2024-06-22 01:21:04 +00:00
Niccolò Venerandi
dd8f2da873 Added panel focus test 2024-06-12 22:29:32 +02:00
l10n daemon script
403b940967 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"
2024-01-16 01:13:53 +00:00
l10n daemon script
30dcf97c13 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"
2024-01-08 02:09:55 +00:00
l10n daemon script
3173784d43 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"
2023-12-24 02:31:59 +00:00
l10n daemon script
b77963f557 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"
2023-12-19 02:07:34 +00:00
l10n daemon script
3fdf4de55e 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"
2023-12-16 02:10:37 +00:00
Marco Martin
44f2d54acd Add back a metadata key for api minimum version
Fixes an oversight: people are going to upgrade from 5 to 6, some will
have 3rd party plasmoids from the store that will still be for plasma5.

We want a different error message when we know the plasmoid is "old" In
Plasma4 times we used to have for the pure JavaScript plasmoids an api
version key that could be used for things like that.

This makes it a bit more future proof for any future api change there
will be

CCBUG:474456
2023-11-20 12:00:30 +00:00
l10n daemon script
b4ab58ea55 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"
2023-10-19 02:09:30 +00:00
Alexander Lohnau
e9b24ce7fe applets|containments: Remove Version from metadata
This key doesn't make sense, because they are shipped as part of plasma-desktop and thus the Plasma release cycle
2023-10-15 15:29:14 +00:00
Alexander Lohnau
d016cae563 Remove unneeded X-Plasma-API
With https://invent.kde.org/frameworks/plasma-framework/-/merge_requests/906 this key is not mandatory anymore.
2023-10-15 15:29:14 +00:00
Niccolò Venerandi
b186e3b646 Fix panel drag and drop and applet drawing outside panel 2023-10-12 20:35:24 +00:00
Alexander Lohnau
866e815eb2 Remove X-Plasma-MainScript keys and rename files if needed 2023-10-08 06:51:04 +00:00
l10n daemon script
63876a72e5 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"
2023-10-01 02:23:00 +00:00
Nate Graham
a09a1b523a Remove versioning from PlasmaCore module imports
It's unneeded in Qt6 and can cause subtle issues.
2023-09-05 09:21:36 -06:00
Nate Graham
550aada709 applet/showdesktop/minimizeall: ask for -symbolic version of CompactRep icon
We want to use this versions if it exists, so the Panel icon will always
be monochrome when using a mixed mono/colorful icon theme.

BUG: 473205
FIXED-IN: 6.0
2023-08-09 09:46:42 -06:00