the next step on the desktop
Fredrik Höglund
fredrik at kde.org
Mon Jan 31 17:49:19 CET 2011
On Monday 31 January 2011, Martin Gräßlin wrote:
> ----- Ursprüngliche Mitteilung -----
> > A Segunda, 31 de Janeiro de 2011 13:00:50 Marco Martin você escreveu:
> > > provocation: remove the maximize button by default? ;) (as the netbook
> > > doesn't have minimize)
> >
> > will talk to mgrslin this afternoon but somthing like a optimal size
> > buton instead of max... if you clik it again it goes max.... now the
> > apps would need to provide info to kwin about it... this comes in line
> > with the other crazy ideas we benn cooking. worth trying IMO
> at UDS I talked with some desktop experience devs about that. What we came up with is abusing the (unused) maximum size hint and making the maximize button tri-state. First click optimized, second click maximized, third click back to normal. As Ubuntu is also interested there's the chance of getting some kind of standard (but honestly I doubt that gnome would be collaborative in any way if it involves both kde and canonical).
The maximum size hint is not unused. QWidget exposes a property for
setting it, and KWin respects it. In addition the only way to make a window
fixed-size is to set the minimum and maximum size hints to the same value.
This is specified not just by the ICCCM, but also by the EWMH.
Regards,
Fredrik
More information about the Plasma-devel
mailing list