GNOME Bugzilla – Bug 499615
Setable items' width
Last modified: 2020-11-07 12:14:08 UTC
I would like to have setable items' width. Now, they have only the preset one. For example, I would like just the icons (without the titles), or items with 60px of width, or etc.
There is an applet for xfce that shows only the icons but there is nothing for Gnome. Being able to set a maximum width for the buttons is a good idea.
*** Bug 510886 has been marked as a duplicate of this bug. ***
*** Bug 554979 has been marked as a duplicate of this bug. ***
*** Bug 533212 has been marked as a duplicate of this bug. ***
Bug #533212 suggests the following options: -window icons -window titles -window close buttons
Created attachment 141788 [details] [review] Patch for libwnck to add ability to set the tasklist style This patch adds the ability to set one of the following styles of the tasklist; icon and text, icon only, text only. But it should be fairly easy to add more. Also, not sure if this is the right place for the patch as it is mostly about width. A few things I'm not really sure of; - when in icon only mode and the size gets to small to show the image - what to do then? Hide both icon and text (as in the patch)? - I did remove the call to parent allocate otherwise the window list would go into a loop when in vertical layout (why?) - I also removed unnecessary calls to gtk_widget_queue_resize () as do it in wnck_tasklist_update_lists () - I also suck at documenting stuff vuntz - what's your comment about this? gnome-panel patch in a second.
Created attachment 141789 [details] [review] Patch against gnome-panel to use the window list styles in libwnck
Created attachment 141790 [details] Screenshot showing the window list appearance in action Shows gnome-panel with patches applied with three window lists in the lower panel and one window list in the panel to the right. Also the visible is the preference dialog showing the different appearance options.
If a full icon (at least) cannot be displayed, the options should spill over into a menu indicated with an arrow or triangle or whatever's on the show/hide panel buttons. A bunch of squished/cropped icons in your panel is not helpful or elegant.
Ethan, like the scrolling in Windows XP? If so that seems like another bug as the problem is not just related to my icon only tasks.
OK, at least I know what GTK_WIDGET_CLASS (wnck_tasklist_parent_class)->size_allocate (widget, allocation); is useful for. Dragging tasks. But still, with this enabled, vertical panel tends to go into a loop. Anyone got a tip on how to solve this?
Created attachment 141841 [details] [review] Updated libwnck patch (drag and drop AND no loop) Not really sure why, but this one seems to be working just fine. If you got time, please try it out and comment here.
bugzilla.gnome.org is being replaced by gitlab.gnome.org. We are closing all old feature requests in Bugzilla which have not seen updates for many years. If you still use gnome-panel and if you are still requesting this feature in a currently supported version of GNOME (currently that would be 3.38), then please feel free to report it at https://gitlab.gnome.org/GNOME/gnome-panel/-/issues/ Thank you for reporting this issue and we are sorry it could not be implemented.