Fixes the following error:
/usr/share/plasma/plasmoids/org.kde.plasma.battery/contents/ui/CompactRepresentation.qml:74:
ReferenceError: batteryLabel is not defined
batteryLabel does not exist ever since commit
27ac0b7608 back in 2016, so an attempt to
calculate some icon's height based on its size was bound to fail.
Breeze needs more than the given width to fit all of the preview widgets into
the cell, so the item is scaled down to fit. Give it more space (especially
for the QSpinBox design) to avoid blurry scaling.
Currently this is hardcoded to KOrganizer, but Kalendar is a nice app and we should be able to launch that too.
Check for the default handler for calendar files and take that if it is KOrganizer or Kalendar. The check is to avoid launching an app that can technically open ics files but isn't a calendar app, e.g. Kate.
We can extend the logic with other known calendar apps
4f53ed33c2 changed two things:
It removed the NoDisplay check
It ported from KServiceTypeTrader to KService::fromDesktopEntry
However the latter caused a behavior change that broke mapping some applications.
Previously an appId of "Sublime_merge" would be mapped to sublime_merge.desktop, but the new code doesn't take mixed casing into account
Revert that part
The scale factor was incorrect because it always compared with 1, which
caused the background image not being resized properly when height >
width.
This commit uses the same scale factor in ToolTipInstance.qml, so the
scale factor is correct again.
kinit is being deprecated; this change will allow it to open a terminal and execute
commands normally without kinit being present.
BUG: 437131
FIXED-IN: 5.24
This way the powerdevil and session runners do not display
their first syntax in the overview, but rather the description of what
the runner does in general.
This is needed, because those syntaxes are very specific to a certain
bit of the functionality that the runner provided.
This is implemented using the new X-KDE-ConfigModule property.
Older or KCMs that use the deprecated query mechanism will not show up,
but considering that this is a new feature it does not seem worth adding
support for it.
Because we can't have nice things the private browsing action in Firefox
sometimes has a %u placeholder for the URL and sometimes doesn't.
The current code only accounts for the case without placeholder, which
is also what Chrome does.
Replace the placeholder if found, otherwise append the URL
It is not possible for the user to launch such an app from the UI, so we should not allow to launch a new instance from the task manager context menu.
BUG: 447204
The style config is saved already when the dialog closes so enabling the KCM apply button doesn't make sense
The comment suggests that this is done for a reason, but the style preview seems to refresh correctly even with this patch
BUG: 439297