[Development] api changes
Thiago Macieira
thiago.macieira at intel.com
Mon Apr 16 15:26:12 CEST 2012
On segunda-feira, 16 de abril de 2012 14.51.31, Michael Jansen wrote:
> One thing i would like to add.
>
> In kde we have a central daemon that manages the global shortcuts for all
> kde apps. Other apps talk to him by dbus.
>
> This was done (afaik) because on the mac this behavious is a must. But i
> came late to the party when the decisions were not only made but
> implemented. David probably knows more than i do.
>
> So in an ideal world qt apps running in a kde environment should use that
> daemon too and under gnome register the global shortcuts directly (AFAIK
> gnome has no such thing as a central daemon).
>
> So this is really 5.1 material because if we try to solve it we should do it
> right.
There was some discussion on how what Qt 4 called the "GUI platform plugin"
but now is confused with the QPA platform plugin would work in Qt 5. Such
plugins were there so the Qt-based platforms could override some behaviour in
Qt, such as file dialogs, mouse timings, widget style, etc. I don't know where
the discussion is now.
In fact, it would be a lot easier from Qt's perspective if there were a "kde-
xcb" plugin.
Also, please note that Wayland has not decided on a global shortcut API yet. I
recommend pushing for a sane implementation there, brokered by the compositor
(so we don't need a daemon reachable over a different protocol).
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
Intel Sweden AB - Registration Number: 556189-6027
Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/development/attachments/20120416/4f6484da/attachment.sig>
More information about the Development
mailing list