Papercuts from review at sprint
Sebastian Kügler
sebas at kde.org
Fri Feb 27 13:04:29 UTC 2015
On Thursday, February 26, 2015 16:16:59 Martin Gräßlin wrote:
> On Thursday 26 February 2015 16:01:57 Sebastian Kügler wrote:
> > On Thursday, February 26, 2015 08:30:46 Martin Gräßlin wrote:
> > > On Wednesday 25 February 2015 18:45:27 Sebastian Kügler wrote:
> > >
> > >
> > > To explain how this works: the question mark is shown in the window
> > > decoration when the window signals that it supports the "provides
> > > context
> > > help" mode. The window decoration cannot know whether there is something
> > > actually providing it. So if it's wrongly shown this means fixing in the
> > > application.
> > >
> > >
> > >
> > > But the complete feature is questionably as it's a non-standard protocol
> > > between Qt and KWin. To my knowledge no other window manager supports it
> > > and no other toolkit supports it. Which means that it's a dangerous
> > > feature to put help into in a cross-desktop application.
> >
> >
> >
> > So we'd have to gauge its usefulness overall, and see if it makes sense.
> > Are there any apps which really use it, i.e. also provide whatsthis hints
> > consistently?
>
> There are many KCMs setting them. E.g. lots of KWin KCMs have such a hint
> (which might not be surprising as AFAIK the API was implemented by
> Matthias).
> >
> >
> > Otherwise, perhaps we should review those apps that request the "?", and
> > in
> > case it's nonsensical (such as in systemsettings), remove it.
>
> In systemsettings it's only nonsensical for the kcms which do not have it.
> For the ones from KWin it makes sense.
We were looking at the overview. So the ? only makes sense for some module. I
guess that's OK then.
> > Do you know how to find this "provides context help" API?
>
> For example in ui files:
> <property name="whatsThis">
> <string>Here you can set that windows will be only snapped if you
> try to overlap them, i.e. they will not be snapped if the windows comes
> only near another window or border.</string>
> </property>
>
> And QWidget::setWhatsThis
Ah, okay, that.
--
sebas
http://www.kde.org | http://vizZzion.org | GPG Key ID: 9119 0EF9
More information about the Plasma-devel
mailing list