Bug 363513

Summary: Tabs should be more homogeneously sized
Product: [Applications] okular Reporter: Antonio Rojas <arojas>
Component: generalAssignee: Okular developers <okular-devel>
Status: CONFIRMED ---    
Severity: normal CC: aacid, alex-amex, justin.zobel, med.medin.2014, nate, simonandric5, torhamzed
Priority: NOR    
Version First Reported In: 0.25.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: screenshot
Snapshot of the problem as well as results of code change

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.