New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tabs are too wide for smaller window sizes #1691
Comments
Do you see the same behavior when using Adwaita as the gtk theme? |
I cannot reproduce the issue, what is the output of Also, what do you have set for session title in your configuration? |
The output of
The default session name is |
Hello, I also have a similar type of issue. At a certain point, the tabs stop getting smaller. And a limit is hit. On my ultrawide monitor, with 3440-58px width (subtracting the 59px for the dock). Then it stops hard at 13 tabs. tilix --version
Versions
Tilix version: 1.9.1
VTE version: 0.54
GTK Version: 3.24.4
Tilix Special Features
Notifications enabled=0
Triggers enabled=0
Badges enabled=1 This is on ubuntu 18.10, budgie desktop 10.5, with the following desktop UI themes:
It would seem that the first one "Widgets" is the main desktop theme. |
Perhaps it could be possible to add a new setting, for defining a "Minimum tab size" ? So if users want many more tabs open, at a smaller width. Vs the other people who would rather prefer to see the Title of the tab text not be truncated so much. Another point is that ATM (because I cannot see many of my tabs, they are scrolled off the end). Well then can I put a window number at the Front of each tab text? Like |
Still have the issue describe by @articlecat, tabs "don't shrink enough", even on default theme Adwaita (on Fedora 30),
Note: It also seems that the tilix version is not consistent between the two outputs. |
As this behaviour was quite annoying for me, I investigated a little bit more, and find that setting hhomogeneous parameter to false for the GtkStack introduced in 5529234 seems to help a lot, see Briffou@8e9ba0f As I know anything in Gtk and Tilix code, I'm quite hesitant to make a PR, but if a maintainer confirms me that it's a good correction, I'll do it. Before/after comparison: Before, I could only open 3 tabs before left and right arrows appears on each side of the window (no matter what was the active theme) : After setting hhomogeneous parameter to false, I can open up to 8 tabs : |
Cool man.... @gnunn1 can you please take a loot at this? Seems like a pretty good idea. |
I recompiled Tilix (on Ubuntu 19.10) with the patch @Briffou did, and it works as I think it should. |
Hi! tilix --version |
I have this problem too, is it possible to set |
Any new version to fix this ? |
Same issue here. On my screen, I can only open 5 tabs before they get the side-scrolling arrows. By comparison in GNOME Terminal I can open 20+ tabs before they start scrolling and the tab UI there is identical. |
I think we should merge the fix suggested by @Briffou. It does the job for me. |
👍 |
In version 1.9.0 and newer, the minimum tab width is too high. Version 1.8.9 and earlier were able to display many tabs in a 720px width window (at 100% display scale), but the current version can only fit 2 tabs in the same window.
The text was updated successfully, but these errors were encountered: