Feature request: scroll for the tab list

Asked by Cococurri

When there are many file opened the Tabs menu is very helpful to switch between tabs but it shows a static list of filenames that grows in columns that means it adds a new column of filenames when there are so many files opened that the list reach the bottom of the screen. Maybe because of the length of the filenames the first column is too wide so only the first leters of the second one are visible.

Others software handle this problem by adding a scroll feature to the list. I hope this is not dificult to implement.

best regards.

Question information

Language:
English Edit question
Status:
Answered
For:
qpdfview Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Adam Reichold (adamreichold) said :
#1

Hello cocurri,

the Qt library which qpdfview uses for its user interface already does support scrolling popup menus, but whether menus are laid out in columns or begin to scroll if they do not fit the screen space is usually not decided by the application but rather by the desktop style.

However, since I was a bit suprised that my Gtk-based desktop style defaults to a multi-column layout as well, I added an "Scrollable menus" option that overrides the default style hint and tries to force scrollable menus to trunk revision 1793. Note that you need to restart the application for this to take effect and that I found Qt's implementation not to work correctly in some cases. Also note that this will apply to all menus, not just the tabs menu.

Please grab a daily build or build from source to test this.

Best regards, Adam.

Revision history for this message
Adam Reichold (adamreichold) said :
#2

Hello again,

since you obviously have a long tabs menu, you might also be interested in this [1].

Best regards, Adam.

[1] https://answers.launchpad.net/qpdfview/+question/260831

Can you help with this problem?

Provide an answer of your own, or ask Cococurri for more information if necessary.

To post a message you must log in.