Bug 363513 - Tabs should be more homogeneously sized
Summary: Tabs should be more homogeneously sized
Status: CONFIRMED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 0.25.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
: 381875 429844 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-05-25 15:43 UTC by Antonio Rojas
Modified: 2020-11-30 15:47 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
screenshot (29.04 KB, image/png)
2016-05-25 15:43 UTC, Antonio Rojas
Details
Snapshot of the problem as well as results of code change (173.54 KB, image/png)
2016-05-30 21:16 UTC, torhamzed
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Antonio Rojas 2016-05-25 15:43:25 UTC
See screenshot. The first tab takes over a half of the tab bar, and the last two are ellided after just 2 letters.

Reproducible: Always
Comment 1 Antonio Rojas 2016-05-25 15:43:59 UTC
Created attachment 99185 [details]
screenshot
Comment 2 Albert Astals Cid 2016-05-25 18:04:39 UTC
Which version are you using?
Comment 3 Antonio Rojas 2016-05-25 18:06:59 UTC
16.04.1 aka 0.25.0
Comment 4 torhamzed 2016-05-30 21:14:46 UTC
I can confirm this issue.  The following screenshot is from a virtual machine with Fedora 23.

There are two okular programs open in this screenshot.  The first one in the background is the stock okular, I opened the longname pdf first, then the shortname pdf second to confirm as the bug report states.

The okular running in the foreground was launched from within Kdevelop, with a two line code change.  Seems to work properly to resolve the issue.
Comment 5 torhamzed 2016-05-30 21:16:18 UTC
Created attachment 99276 [details]
Snapshot of the problem as well as results of code change
Comment 6 Nate Graham 2017-09-13 03:01:22 UTC
*** Bug 381875 has been marked as a duplicate of this bug. ***
Comment 7 Justin Zobel 2020-11-09 03:40:59 UTC
Confirmed this is still an issue on Okular from git master.

Antonio if you're still interested the code is now at https://invent.kde.org/graphics/okular/-/merge_requests
Comment 8 Antonio Rojas 2020-11-30 11:25:45 UTC
*** Bug 429844 has been marked as a duplicate of this bug. ***
Comment 9 Nate Graham 2020-11-30 15:47:01 UTC
Making all tabs stretch to fit would effectively fix this. Konsole now takes that approach and it works well.