Fushan Wen
890ce08b10
applets/mediacontroller: press up to focus on play button
...
Ref: https://invent.kde.org/plasma/plasma-desktop/-/issues/42
4 years ago
Fushan Wen
59ce2e70f7
applets/mediacontroller: support arrow key navigation
4 years ago
Marco Martin
870ecbef9e
Take the pluginId from the kpackage metadata
...
e64c13729b
caused pluginMetadata() to be from parent applet, losing a way to load
the proper preset
BUG:457657
4 years ago
Eugene Popov
b5f903862e
applets/notifications: Fix displaying header progress indicator on different DPI
...
Currently, the progress indicator is normally displayed only if the DPI is a
multiple of 100; at other DPI values it's almost invisible or not visible at
all. This commit fixes that issue.
BUG: 435004
FIXED-IN: 5.24.7
4 years ago
l10n daemon script
0064f7185c
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
Fabian Vogt
d2e3f679cf
Create proper QUrls for recent document actions
...
The resource can either be a URL or an absolute path, the url() method
converts the latter into a proper URL.
CCBUG: 457685
4 years ago
ivan tkachenko
437e83eee4
[applets/appmenu] Remove binding to checked property from MenuDelegate
...
It makes sense for ToolBar button in CompactRepresentation, because
background depends on it, but it is useless for custom AbstractButton
which has no special code handling this value.
4 years ago
ivan tkachenko
4af06370fc
[applets/appmenu] Port imperative connections back to Connections object
...
Not sure what exactly didn't work back than, not currently on Qt 5.15
everything seems fine.
Binding.RestoreNone is not the most recommended[1] value, but it
replicates the behavior of one-time assignment which was happening in
Component.onCompleted handler.
[1]: https://www.mail-archive.com/interest@qt-project.org/msg36486.html
4 years ago
ivan tkachenko
509737a01b
[applets/appmenu] Bump imports
4 years ago
ivan tkachenko
f793c3e2de
[applets/appmenu] Flatten MouseArea's functionality into MenuDelegate
...
MenuDelegate is a QQC2.Control's subclass, which is perfectly capable of
handling hover and press events on its own. Besides, few extra
properties and a custom signal make it feel like a dedicated component
which it really is.
4 years ago
ivan tkachenko
fe0052030f
[applets/appmenu] Combine three FrameSvgItem into one
...
Not sure how much (if at all) this makes sense performance-wise, but at
least the code looks cleaner and there are no duplicating components
anymore.
State enum is mutually exclusive as it is, so there's no way there could
have been more than one FrameSvgItem on screen at a time.
4 years ago
ivan tkachenko
e37baaeb74
[applets/appmenu] Set MenuDelegate's textFormat explicitly to StyledText
...
Generally, this property should be set on every Text component that we
write. It avoids ambiguity and extra potentially expensive parsing step
with heuristics. Here, we know for sure that the label is in rich text
format.
Text.StyledText format is computationally cheaper than the Text.RichText,
while still getting its job done: displaying the underlined letters when
Alt is key pressed.
4 years ago
ivan tkachenko
6f92469314
[applets/appmenu] JavaScript code style++
...
* var -> const/let
* == -> strict === equality
* semicolons;
* arrow => () => functions
4 years ago
l10n daemon script
2e6f892656
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
75f02fb0cd
applets/devicenotifier: forward keys to `ListView`
...
So pressing arrow keys can navigate in the applet.
4 years ago
Fushan Wen
cce7b5e4aa
applets/devicenotifier: add a11y description to unmount all button
4 years ago
Fushan Wen
7dc5787801
applets/clipboard: press arrow keys to switch focus in the edit page
4 years ago
Fushan Wen
fd7c11cca7
applets/activitybar: move focus after pressing arrow keys
4 years ago
Fushan Wen
c0195f16ad
applets/clipboard: press Ctrl+S to save in the edit page
4 years ago
l10n daemon script
61b7bb9892
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
6d544e5c7b
applets/appmenu: do not update menu when panel gets focus
...
This makes the keyboard navigation work in the appmenu applet.
BUG: 455520
FIXED-IN: 5.25.4 5.26
4 years ago
Alexander Lohnau
262bf0af84
Fix systemmonitor preferences being reset
...
See 3078bc25df (note_497421)
BUG: 454004
4 years ago
Jin Liu
92f60df666
applet/digital-clock: fix font size smaller than before
...
Fix regression introduced by https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/1809
4 years ago
Fushan Wen
f3ab856a21
applets/notifications: allow screen reader to read notification body in FullRepresentation
...
Allow the notification content to get focus so a screen reader can read
it.
4 years ago
Fushan Wen
6d468be88c
applets/notifications: add accessible names to toolbuttons
4 years ago
Jin Liu
e94e21f259
applets/digital-clock: add a font size setting
...
This allows the user to choose between automatically determined font size
(the default, and the current behavior), and completely manual font settings.
The UI refactor and layout code changes necessary for this feature also
happily fix a few bugs along the way.
BUG: 413394
BUG: 421548
BUG: 395468
FIXED-IN: 5.26
4 years ago
Fushan Wen
4c48e40681
applets/digital-clock: add accessible properties to toolbuttons
4 years ago
Nicolas Fella
8cc7155840
[kicker/kickoff] Use URL from match result directly
...
Instead of complex and broken custom logic
4 years ago
Carl Schwan
9f8b04f08a
Add complete keyboard navigation to the digital clock popup
...
Should be tested with https://invent.kde.org/frameworks/plasma-framework/-/merge_requests/441
but doesn't require it
4 years ago
Fushan Wen
28451bc83a
applets/digital-clock: add accessible properties to compact representation
...
Read it first and then we can consider reading it correctly.
4 years ago
Fushan Wen
e5692c8274
applets/appmenu: add description to describe the button opens a menu
4 years ago
Fushan Wen
6cb2f03726
applets/appmenu: add accessible properties to compact representation
4 years ago
Fushan Wen
d87b926886
applets/activitybar: add "Configure Activities" menu item
...
This menu item will open Activities KCM, which makes the configuration
easier to be found.
4 years ago
Fushan Wen
340da40aa3
applets/clipboard: add text to toolbuttons
...
Ref: https://invent.kde.org/plasma/plasma-desktop/-/issues/41
4 years ago
Fushan Wen
00cfc34d29
applets/systemtray: add text to toolbuttons
4 years ago
Fushan Wen
20821f26a2
applets/mediacontroller: add accesible properties to toolbuttons
4 years ago
Fushan Wen
e66488113c
applets/icon: fix invalid `Accessible.description`
...
mainText is a property in `PlasmaCore.ToolTipArea`.
4 years ago
Fushan Wen
1a7ae79b41
applets/devicenotifier: improve accessible properties
...
This uses the plasmoid name as Accessible.name, and uses tooltip text as
Accessible.description.
4 years ago
Fushan Wen
7eb19a4a02
applets/batterymonitor: add accessible properties to slider
...
So a screen reader can read the name of a slider, and the percent sign.
4 years ago
Fushan Wen
17da1783ac
applets/batterymonitor: improve accessible properties
...
This uses the plasmoid name as Accessible.name, and uses tooltip text as
Accessible.description.
4 years ago
Fushan Wen
4def2d9f0c
applets/analog-clock: improve accessible properties
...
This uses the plasmoid name as Accessible.name, and makes the
description more human-readable.
4 years ago
Fushan Wen
30d6726fab
applets/mediacontroller: add `isPlaying` property
...
This reduces unnecessary string comparisons in the applet.
4 years ago
Fushan Wen
53b86a5017
applets/analog-clock: follow Plasma QML style
4 years ago
Fushan Wen
0df153f30e
applets/activitybar: follow Plasma QML style
4 years ago
Fushan Wen
cdb899394f
applets/manage-inputmethod: add accessible properties
4 years ago
Fushan Wen
d6c1a0fcd5
applets/manage-inputmethod: add `Plasmoid.onActivated`
...
This adds support for keyboard navigation.
4 years ago
Weng Xuetian
0f01d289be
Try to optimize the start up time.
...
1. Only use transliterator for certain Chinese/Japanese locales.
2. Defer the group value loading until first access, just like icon.
4 years ago
Kai Uwe Broulik
a98f783444
[Notifications] When there is no thumbnail available, use file icon as drag pixmap
...
It's rare but it can happen that thumbnail generation fails, then there would be
no drag pixmap at all while dragging.
For consistency sync the drag pixmap icon size to the actual icon size shown in the view
4 years ago
Kai Uwe Broulik
4989651e05
[Notifications] Ignore stopped job in job aggregator
...
Otherwise a finished job in notification history will cause an
indefinite "100%" job.
4 years ago
ivan tkachenko
c6b64d02c8
[applet/{analog,digital}-clock] Clean up whitespace
4 years ago