After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 317007 - Confusion of hide/show and minimize/maximize
Confusion of hide/show and minimize/maximize
Status: RESOLVED FIXED
Product: gdl
Classification: Other
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: Gustavo Giráldez
Gustavo Giráldez
Depends on:
Blocks:
 
 
Reported: 2005-09-23 08:33 UTC by Naba Kumar
Modified: 2012-07-30 18:55 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Naba Kumar 2005-09-23 08:33:10 UTC
Please describe the problem:
There are currently two ways to hide a widget in gdldock -- one is the usual
hide/show and the other is the minimize/maximize. They both do the same thing
and it therefore confusing. I think we should get rid of hide/show and have only
minimize/maximize.


Steps to reproduce:
1. 
2. 
3. 


Actual results:


Expected results:


Does this happen every time?


Other information:
Comment 1 Sébastien Granjoux 2009-02-22 21:27:10 UTC
Is it still true ? I don't see what you mean.

Undocked gdl windows have 2 close buttons, the normal one in the border and the GDL one. But I don't see the hide/show button.
Comment 2 Joel Holdsworth 2009-04-15 14:52:08 UTC
Maybe he's referring to the iconify button. I don't think this feature should be removed - it would break the API, and also it's already optional for application writers to enable the button or not as they see fit.
Comment 3 Naba Kumar 2010-02-23 11:29:47 UTC
(In reply to comment #1)
> Is it still true ? I don't see what you mean.
> 
> Undocked gdl windows have 2 close buttons, the normal one in the border and the
> GDL one. But I don't see the hide/show button.

I think I haven't been very clear. Each (docked) items has 2 buttons: minimize and hide. What do they do? Exactly the same thing (also internally). Except minimize puts a button in sidebar, while hide doesn't. Which is even more confusing.

So my original idea was to have only minimize and get ride of hide. It does not require any API change; I meant only the visual change in dock items. APIs could still call minimize/hide (but that will do the same).

However, from bug 591779, I think we can have a different purpose for minimize, so this bug is probably not applicable anymore (unless we fix API to make minimize==hide also).
Comment 4 Sébastien Granjoux 2012-07-30 18:55:56 UTC
I have changed GDL but I have kept this difference between minimize and hide. The minimized state is saved now, so it is more useful. I think we can keep it, so I'm closing this bug.