GNOME Bugzilla – Bug 317007
Confusion of hide/show and minimize/maximize
Last modified: 2012-07-30 18:55:56 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:
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.
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.
(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).
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.