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
Ahmad Samir
24d4b12469
Use Qt logging categories
...
So as not to unnecessarily fill the system log (or binary journal, because
plain text log files are not the fashion any more).
GIT_SILENT
4 years ago
Nate Graham
928a2edbcb
applets/notifications: Increase implicit size of standalone popup
...
BUG: 448383
FIXED-IN: 5.24.1
4 years ago
l10n daemon script
daed0461eb
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
2141988c3b
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
6721c2ec92
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
9a6b190046
applets/notifications: set implicit size
...
Without this, the FullRepresentation opens to an unusably small size
when it's a Panel applet.
BUG: 448383
FIXED-IN: 5.24
4 years ago
l10n daemon script
482dc8a0e3
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
1c12775ec7
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
Carl Schwan
8d3ec2f898
[applets]: Fix scrolling in ScrollViews
...
CCBUG: 448243
4 years ago
l10n daemon script
0d0b713076
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
5137140bc7
[applets/notifications] Remove leftovers of jobProgressItem
...
It was nuked years ago, so the id does not exist any longer, and
generated a runtime error like this:
file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/CompactRepresentation.qml:132:
ReferenceError: jobProgressItem is not defined
Amends da86d1e40a
4 years ago
Felipe Kinoshita
be964136d8
[applets/notifications] Change right click menu configure action to "configure"
...
This makes it more consistent with basically all right click
menu configure actions present in other applets.
4 years ago
Carl Schwan
37bf7e5d73
Improve scrollview
4 years ago
l10n daemon script
96915c3248
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
5259ac39ab
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
594b933a1e
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
5a792e989f
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
7ebe49f96f
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
41e9c0e65f
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
b64be79def
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
Aleix Pol
d4ceb29951
notifications: Add support for XDG Activations
...
Allows us to request a token upon activation and feed it into the
notified application.
4 years ago
l10n daemon script
07e7431c2a
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
c7689f5349
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
36cadc2c69
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
84de3fda6e
Use Q_SLOTS
4 years ago
Laurent Montel
2543f1b843
GIT_SILENT: use Q_EMIT
4 years ago
l10n daemon script
50a7069ada
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
e1856783c3
Remove now unneeded desktop files
...
Also the install code for some plugins that are already ported to json metadata
4 years ago
Alexander Lohnau
8cfc87cdc8
applets: Convert Desktop files to JSON
...
Task: https://phabricator.kde.org/T14564
4 years ago
Kai Uwe Broulik
d31134f5c1
[Notifications] Use edit-copy-path for "Copy location" action
4 years ago
Nate Graham
9770e86f76
applets/notifications: re-implement critical notification line better
...
This commit re-implements the critical notification to be inside the
notification popup, not the notification item. This yields several
benefits:
- It's the semantically correct place to implement it since critical
notifications don't appear in the history, so there's no reason to
implement it in a component that's re-used for the history view
- The line extends down to the bottom for critical notifications that
have buttons, job progress, text input fields, files, or screenshots
- Simpler code overall
4 years ago
Nate Graham
3ec5351a96
Revert "applets/notifications: Embellish header for critical notifications"
...
This reverts commit be7efa5ec2 .
This reverts commit 93355636de .
This was not the best way to implement the feature, as it failed to take
into account the fact that critical notifications can have more content
than just text. A better place to implement it would be in the popup
itself.
4 years ago
Kai Uwe Broulik
3369bc4a93
[Notifications] Move actions into thumbnail strip if there are
4 years ago
Fushan Wen
3a1603a4e1
applets/notifications: Pass wheel events of TextArea to ListView
...
Prevent `TextArea` in SelectableLabel from accepting wheel
events when the notification item is in FullRepresentation,
and pass wheel events to `ListView` in FullRepresentation when the
cursor is over the `TextArea`.
BUG: 443840
FIXED-IN: 5.24
4 years ago