Xfce Forum

Sub domains
 

You are not logged in.

#1 2023-05-25 10:25:05

Kevin Göthe
Member
From: Sweden
Registered: 2023-05-25
Posts: 5
Website

[SOLVED] Window buttons on panel doesn't stack itself in two rows

Hello!

I have a minor problem with the "window buttons" (or "task list"?) on the panel. Something changed after the recent update from Fedora 37 to 38.

The window buttons used to stack itself in two rows when the panel height was set to 50 or over. Now the buttons remain in only one row and therefore gets very large depending on the size of your panel.

A few internet searches reveals that people have had issues with the rows several times before, but always opposite to my problem. In this thread for example, someone wants to stop them for stacking:

https://forum.xfce.org/viewtopic.php?id=12352

I want them to stack in two rows when the panel is about 50 pixels high or higher, as they did up until this recent update.

I've tried to add the line ".tasklist { -XfceTasklist-max-button-size: 32; }" to the file "/.config/gtk-3.0/gtk.css" and changing the value both up and down. Unfortunately, none have worked. I also tried pasting the same line in the gtk.css file in the "gtk-4.0"-folder. Although that didn't work either.

A minor problem perhaps, but annoying nonetheless!

Thanks in advance for any help or ideas!

Kind regards,
Kevin

Last edited by Kevin Göthe (2023-05-25 15:37:12)

Offline

#2 2023-05-25 11:16:45

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,485

Re: [SOLVED] Window buttons on panel doesn't stack itself in two rows

Hello and welcome.

Can you tell us the versions of xfce4-panel involved here? What version was used in F37 and what version is being used in F38?

Also, can you post back your panel settings:

xfconf-query -c xfce4-panel -lv

For the items to stack you need to have rows set to more than 1 or the panel height to be greater than a certain size (64 on the latest version).


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#3 2023-05-25 12:05:03

Kevin Göthe
Member
From: Sweden
Registered: 2023-05-25
Posts: 5
Website

Re: [SOLVED] Window buttons on panel doesn't stack itself in two rows

Thanks for the welcome!

4.18.3 is the current panel version. I'm not sure which version was in Fedora 37. 4.16.5 is in the F37 repositories, so that may be it.

I'm not sure how much of the output is needed. But here is the full thing:

/configver                                        2
/panels                                           <<UNSUPPORTED>>
/panels/dark-mode                                 false
/panels/panel-1/autohide-behavior                 0
/panels/panel-1/enable-struts                     true
/panels/panel-1/length                            100
/panels/panel-1/length-adjust                     true
/panels/panel-1/plugin-ids                        <<UNSUPPORTED>>
/panels/panel-1/position                          p=8;x=960;y=1064
/panels/panel-1/position-locked                   true
/panels/panel-1/size                              52
/plugins/plugin-1                                 launcher
/plugins/plugin-10                                separator
/plugins/plugin-10/expand                         true
/plugins/plugin-10/style                          0
/plugins/plugin-11                                separator
/plugins/plugin-11/style                          2
/plugins/plugin-12                                clock
/plugins/plugin-12/digital-format                 %R%n%Y-%m-%d
/plugins/plugin-12/digital-layout                 3
/plugins/plugin-12/digital-time-format            %R%n%Y-%m-%d
/plugins/plugin-12/flash-separators               false
/plugins/plugin-12/mode                           2
/plugins/plugin-12/show-meridiem                  false
/plugins/plugin-12/show-seconds                   false
/plugins/plugin-12/tooltip-format                 %A %d %B %Y
/plugins/plugin-13                                separator
/plugins/plugin-13/style                          2
/plugins/plugin-14                                launcher
/plugins/plugin-14/items                          <<UNSUPPORTED>>
/plugins/plugin-15                                launcher
/plugins/plugin-15/items                          <<UNSUPPORTED>>
/plugins/plugin-18                                launcher
/plugins/plugin-18/items                          <<UNSUPPORTED>>
/plugins/plugin-19                                launcher
/plugins/plugin-19/items                          <<UNSUPPORTED>>
/plugins/plugin-1/items                           <<UNSUPPORTED>>
/plugins/plugin-2                                 tasklist
/plugins/plugin-21                                launcher
/plugins/plugin-21/items                          <<UNSUPPORTED>>
/plugins/plugin-22                                directorymenu
/plugins/plugin-22/base-directory                 /home/gothe
/plugins/plugin-23                                launcher
/plugins/plugin-23/items                          <<UNSUPPORTED>>
/plugins/plugin-24                                launcher
/plugins/plugin-24/items                          <<UNSUPPORTED>>
/plugins/plugin-25                                applicationsmenu
/plugins/plugin-25/button-icon                    redhat-icon-panel-menu
/plugins/plugin-25/button-title                   
/plugins/plugin-25/custom-menu                    false
/plugins/plugin-25/show-button-title              false
/plugins/plugin-26                                separator
/plugins/plugin-26/style                          2
/plugins/plugin-2/grouping                        false
/plugins/plugin-2/include-all-monitors            true
/plugins/plugin-2/include-all-workspaces          false
/plugins/plugin-2/middle-click                    1
/plugins/plugin-2/show-handle                     true
/plugins/plugin-2/show-labels                     true
/plugins/plugin-2/show-only-minimized             false
/plugins/plugin-2/show-tooltips                   true
/plugins/plugin-2/show-wireframes                 false
/plugins/plugin-2/sort-order                      3
/plugins/plugin-2/switch-workspace-on-unminimize  true
/plugins/plugin-3                                 separator
/plugins/plugin-4                                 pager
/plugins/plugin-4/miniature-view                  true
/plugins/plugin-4/numbering                       true
/plugins/plugin-4/rows                            2
/plugins/plugin-5                                 separator
/plugins/plugin-6                                 systray
/plugins/plugin-6/hidden-legacy-items             <<UNSUPPORTED>>
/plugins/plugin-6/hide-new-items                  true
/plugins/plugin-6/icon-size                       24
/plugins/plugin-6/known-items                     <<UNSUPPORTED>>
/plugins/plugin-6/known-legacy-items              <<UNSUPPORTED>>
/plugins/plugin-6/menu-is-primary                 false
/plugins/plugin-6/single-row                      false
/plugins/plugin-6/square-icons                    false
/plugins/plugin-6/symbolic-icons                  false
/plugins/plugin-7                                 launcher
/plugins/plugin-7/items                           <<UNSUPPORTED>>
/plugins/plugin-8                                 pulseaudio
/plugins/plugin-8/blacklisted-players             
/plugins/plugin-8/enable-keyboard-shortcuts       true
/plugins/plugin-8/mpris-players                   audacious;firefox.instance10219;firefox.instance10598;firefox.instance11780;firefox.instance11816;firefox.instance12613;firefox.instance15279;firefox.instance16230;firefox.instance17475;firefox.instance21471;firefox.instance2156;firefox.instance2189;firefox.instance24763;firefox.instance25271;firefox.instance28643;firefox.instance3537;firefox.instance38072;firefox.instance3932;firefox.instance42872;firefox.instance4893;firefox.instance5933;firefox.instance8879;firefox.instance9178;firefox.instance9271;org.telegram.desktop
/plugins/plugin-8/show-notifications              true
/plugins/plugin-9                                 launcher
/plugins/plugin-9/items                           <<UNSUPPORTED>>

For the items to stack you need to have rows set to more than 1 or the panel height to be greater than a certain size (64 on the latest version).

If I selected two rows on the panel settings all items began stacking as well. If I increase the size to 64 the window buttons stacks in two rows. I guess the settings were changed in the update from 50 to 64.

Maybe you can set that parameter manually somewhere? The function is at least not broken, only sat to a higher value than before.

The text snippet recommended back in 2018 didn't work anymore. At least not in "/gtk-3.0/gtk.css".

Last edited by Kevin Göthe (2023-05-25 12:12:01)

Offline

#4 2023-05-25 12:56:37

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,485

Re: [SOLVED] Window buttons on panel doesn't stack itself in two rows

Try adding the following to ~/.config/gtk-3.0/gtk.css:

.tasklist { -XfceTasklist-max-button-size: 25; }

You need to restart the panel for it to take effect ("xfce4-panel -r"). It looks like it reverts to previous behaviour.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#5 2023-05-25 14:31:56

Kevin Göthe
Member
From: Sweden
Registered: 2023-05-25
Posts: 5
Website

Re: [SOLVED] Window buttons on panel doesn't stack itself in two rows

That fixed it smile

Thank you very much for the swift help!

Is there a code to set the icon size of the buttons in that same "gtk.css" file as well? "XfceTasklist-icon-size" or "XfceTasklist-max-icon-size" didn't seem to do it. I made sure to restart the panel this time as well.

Offline

#6 2023-05-25 14:41:31

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,485

Re: [SOLVED] Window buttons on panel doesn't stack itself in two rows

The max icon size is limited by libwnck which I believe is 32px. You can use "-gtk-icon-transform" to resize, but that just blurs the icon if you increase the size.

There is another plugin, https://docs.xfce.org/panel-plugins/xfc … ugin/start, that doesn't use libwnck and thus allows the setting of larger icons. It's more of a dock tool but might be of interest.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#7 2023-05-25 15:32:09

Kevin Göthe
Member
From: Sweden
Registered: 2023-05-25
Posts: 5
Website

Re: [SOLVED] Window buttons on panel doesn't stack itself in two rows

Ok, I'll take a look at it. Thanks once again! smile

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.010 seconds, 7 queries executed - Memory usage: 588.52 KiB (Peak: 605.36 KiB) ]