Jacopo De Simoi
7154c7a4c7
[notifications] HACK fix width
4 years ago
Kai Uwe Broulik
39989a5720
Notifications: Check for mouse being null in DraggableDelegate
...
"mouse" can be null if a click was faked by the SelectableLabel
when clicking on the notification body text.
4 years ago
Kai Uwe Broulik
1119f6fb59
Notifications: Close notification popup with middle click
...
BUG: 456243
4 years ago
Nate Graham
f9a1b9566e
applets/notifications: stop suppressing dialog-information icon
...
This will feel weird and random to the user, especially if they or one
of their apps deliberately uses that icon and then it unexpectedly isn't
displayed. This check feels too magical and unpredictable; let's remove
it to simplify things.
BUG: 458843
FIXED-IN: 5.26
4 years ago
Alexander Lohnau
0b278a3a98
Port away from deprecated KIO::JobUiDelegate constructor
4 years ago
ivan tkachenko
8adfa3d7fd
[applets/notifications] Show "Just now" time label for recent notifications
4 years ago
l10n daemon script
d72310322f
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
77a58a1d0a
applets/notifications: set focus and remove forceActiveFocus hack
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
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
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
Kai Uwe Broulik
eaa44eb88f
[Notifications] Don't invoke default action on drag if we're dragging
...
Otherwise dragging a screenshot off a notification will immediately
trigger the default action.
4 years ago
Kai Uwe Broulik
83bcdab0aa
[Notifications] Invoke default action on drag enter
4 years ago
l10n daemon script
8e7c9dbe5c
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
Kai Uwe Broulik
d835d70eeb
[Notifications] Fix speed overlapping units
...
There's 4 unit (Items got added) now. Unlikely a job has all of them, however.
4 years ago
Luca Carlon
ace8a4a351
Make widget popups resizable
...
See the discussion in https://invent.kde.org/frameworks/plasma-framework/-/merge_requests/500 .
BUG: 411462
BUG: 332512
4 years ago
Volker Krause
74614801ae
Add various missing includes and link libraries
...
Those are no longer pulled in indirectly with KF deprecation level 5.94.
4 years ago
l10n daemon script
f363b0fe42
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
9756b911da
REmove duplicate header between header/file
4 years ago
l10n daemon script
a09776c06c
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
100aa732fa
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
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
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
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
l10n daemon script
460a6485b9
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
0024939c7a
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
db3a8029dc
Create applet plugins without json metadata, name library like plugin id
...
This way we do not embed the json metadata in the plugins
and can avoid the parsing of it at runtime.
Counterpart of https://invent.kde.org/frameworks/plasma-framework/-/merge_requests/458
Task: https://phabricator.kde.org/T14757
4 years ago
Kai Uwe Broulik
6d91e350ea
[Notifications] Remove unused hovered property
...
All hover handling (pausing timeout etc) is done in NotificationPopup
4 years ago
Kai Uwe Broulik
49853de1ed
[Notifications] Fix implicit size propagation in SelectableLabel
...
The item's implicit size is supposed to be the size of its contents.
Fixes a regression from ScrollView port and restores line count
limit behavior (8 lines on popups, no limit in history).
4 years ago
Kai Uwe Broulik
3234fa2d46
[Notifications] Use popupWidth for thumbnail size
...
Instead of relying on the thumbnail strip size, which can temporarily
change during (re)layouting and/or be incorrect when we initially fetch
the thumbnail.
The potential change in image fidelity in notification history is
imho justifiable over the improved speed and reliability of thumbnail
generation when we don't needlessly create a pixmap we don't use.
4 years ago
l10n daemon script
1f3a932c5e
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
111200bf24
Fix show headers in qtc6
4 years ago
Kai Uwe Broulik
e41dd5d896
[Notifications] Provide basic job information in tooltip
...
Especially for longer downloads where a user is more likely to minimize
the job popup, it is useful to be able to see basic job information
(title, i.e. "Downloads", percentage) without having to open the
notification history.
Moreover, it can be hard to judge completion percentage from the tiny circle.
4 years ago
Kai Uwe Broulik
02a6270f82
[Notifications] Use null as TextArea background
...
Saves creating a pointless Item
4 years ago
Kai Uwe Broulik
6723033677
[Notifications] Add hint about how this must not be ported to "Plasmoid"
4 years ago
Kai Uwe Broulik
617d71a607
[Notifications] Request active focus from Globals
...
Rather than relying on `Plasmoid` from deep down in `NotificationItem` code,
which is not possible when run inside the popup.
In `Globals` we have access to our own `plasmoid` property directly.
4 years ago
Kai Uwe Broulik
6340d5af69
[Notifications] Remove unused selection clipboard handling
...
It is a remnant of when we still did the text selection code in
the popup on the QML side.
4 years ago
Kai Uwe Broulik
d72e4fa605
[Notifications] Move drag handling into a dedicated singleton
...
`Globals` (popup handling) is a singleton and as such has no access
to context properties like `plasmoid`. To remain "API-compatible"
there is a `plasmoid` property in `Globals.qml`.
However, this broke with the port to a singleton type and is
admittedly bad layering.
Move drag handling into a proper singleton type to avoid
cross-referencing `plasmoid` from ten layers deep down the code.
4 years ago
Kai Uwe Broulik
0d491641f3
[Notifications] Limit notification heading line count
...
PlasmaExtras.Heading wraps by default but we want to limit this here
4 years ago
Aleix Pol
5290d8e66e
Port from using plasmoid to Plasmoid
...
That is, from using plasmoid the ContextProperty to Plasmoid the
attached property.
4 years ago
Volker Krause
7616c49f17
Ensure moc sees fully qualified property types
...
Qt6 insists on that. We can do this either by including the moc files,
or by including the corresponding headers in the header defining the
properties, the former seems cleaner.
4 years ago
Nate Graham
d32073e208
Correct code comment to refer to the right Highlight
...
GIT_SILENT
4 years ago
l10n daemon script
a298977479
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
a7588366e6
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
4d532f0801
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