Summary:
Panel is the best matching type which gives us the required behavior
like being on all desktops.
BUG: 370158
Reviewers: #plasma, broulik
Subscribers: plasma-devel
Tags: #plasma
Differential Revision: https://phabricator.kde.org/D3038
CHANGELOG: KRunner global shortcuts are listed in a "Run Command" category rather than "krunner"
Differential Revision: https://phabricator.kde.org/D2426
Summary:
Reduces code duplication and we always opperate on cached value, that
is the platform is only checked once in application life cycle.
Reviewers: #plasma, hein
Subscribers: plasma-devel
Tags: #plasma
Differential Revision: https://phabricator.kde.org/D2342
Summary:
Using KDeclrative::QmlObject::rootObject before it's created blocks the
thread until it finishes so that code always "works" - but displays a
warning and is slower.
We now no longer get a warning on startup.
Reviewers: #plasma
Subscribers: plasma-devel
Tags: #plasma
Differential Revision: https://phabricator.kde.org/D2086
It seems Qt removes that hint after the show event if we manually set it but Qt's
own flag is not set. This fixes KRunner showing up behind eg. Yakuake
Checks whether a PlasmaShell interface is available, if so it listens
on PlatformSurface events to create/destroy a PlasmaShellSurface and on
move events the position is updated on the PlasmaShellSurface.
On Wayland that resulted in an endless recursion and also on X11 it's
a little bit too much to update the state on every event.
Let's only do it on the show event (as the comment states) and on
PlatformSurface created events.
When a result is invoked, the query string is prepended to the history, query strings
are only added once. When KRunner is opened, the history will be displayed right away.
The old ComboBox approach caused bad usability because of two vertical lists conflicting
with each other.
REVIEW: 123888
QObject::destroyed has a QObject* as the argument, screenRemoved takes QScreen* as an argument.
CC: aleixpol@kde.org
(cherry picked from commit e14e0aa2c3)
Use Qt 5.4 API for screen removal which notifies us about the screen
removed before having it removed.
Treat differently add and remove, current implementation wasn't very
sensible.
REVIEW: 122040
BUG: 336616
QXcbWindow overwrites the state in its show event. There are plans to
fix this in 5.4, but till then we must explicitly overwrite the state as
well.
This way the _NET_WM_STATE is actually set, and the runner is always on
top of all other windows.
All QQuickWindows share a default format. By setting a custom format
it overwrites the default and this results in a format without a
stencil buffer being requested resulting in possible rendering errors.
This was used to get an alpha buffer. Instead use the static method
on QQuickWindow to request an alpha buffer.
REVIEW: 118123