Created attachment 4020
TabwinWidget object and border-width, icon-size styles
Adding support for theming the color border and icon size of the tabwin.
To support this the TabwinWidget needs to be a GtkWidget.
The attached patch makes TabwinWidget into a GtkWindow subtype.
It doesn't use G_DEFINE_OBJECT to be less intrusive patch.
The patch includes border-width and icon-size style property.
the icon-size patch got me thinking that the ideal size of app-icons is related to (at least) two factors (which xfwm-tabwin already knows/uses to calculate the rows): screen estate/resolution and number of open windows.
personally i experience the 128px appicons that i'm using at the moment with xfwm4 as very productive on my (external) 1920x1200 screen. using my (internal) 1280x800 laptop resolution i'd probably go for 64px (at least when the icons start to overflow, i.e. >6). on 1280x800 i counted 6 icons per row with 128px and 12 with 64px. it's still nice to have the big icons in the switcher imo – even on the small resolution – but to avoid massive overflow it'd be nice to dynamically change the icon size.
maybe there are good solutions for the different use-cases, i guess i also have to give it more thought and it'd be nice to hear other people's thoughts on the matter.
The idea of adding some inteligence to the screen size (reducing the icon size) got me thinking.
What about makeing the tabwin more rectangular?
Now the tabwin will increment in width until it takes up 75%, and adds rows afterwards.
As alternative, try to make the tabwin use multiple lines with lesser icons and gradually increment both width and height.
This kan be done in a way of a fixed aspect ratio or one to mimic the screen ratio.
Patch applied in git master.
-- GitLab Migration Automatic Message --
This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.
You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/xfce/xfwm4/-/issues/65.
Please create an account or use an existing account on one of our supported OAuth providers.
If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests
Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev