On dimanche 12 mars 2017 17:37:55 CET René J.V. Bertin wrote: > On Sunday March 12 2017 16:54:20 David Faure wrote: > >If it's about a very general long-click-should-open-context-menu then maybe > >it can be done globally in the QPA rather than in each and every widget? > Probably, yes. > > >It would > >then be a generic event handling thing. Off by default though, in that > >case, at least on systems which do have a right mouse button. > > That sounds logical but one could also argue that it should be on by default > because it's the single kind of event that an exist on all systems with a > pointing device.
It would trigger, sometimes against the user's will if he's a bit slow, on desktop systems where it's really not necessary since there's a right mouse button. > And if you make it an optional feature in the QPA it (almost?) becomes > something that users might want to control the way they could control > certain things via Q4's qtconfig . Or systemsettings, sure. > Maybe the QPA platform integration plugin could be a good place, I'll tinker > with that in my osx-integration plugin. > > FWIW, did you have a look at my implementation? I didn't. -- David Faure, fa...@kde.org, http://www.davidfaure.fr Working on KDE Frameworks 5