Bug 480999 - Print page range box too small to show 2 characters
Summary: Print page range box too small to show 2 characters
Status: REPORTED
Alias: None
Product: okular
Classification: Applications
Component: printing (show other bugs)
Version: 21.12.3
Platform: Mint (Ubuntu based) Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-07 10:59 UTC by David Campbell
Modified: 2024-02-15 22:14 UTC (History)
1 user (show)

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


Attachments
Imagine showing pages selector not being wide enough for two characters (39.91 KB, image/png)
2024-02-07 21:39 UTC, David Campbell
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Campbell 2024-02-07 10:59:58 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. Open print dialogue
2. Open options
3. 

OBSERVED RESULT

Pages from and pages to boxes are only wide enough to show one character. Which is a royal pain when trying to print 20-21 for example. 
The "pages" dialogue is also sometimes greyed out, and doesn't work when it is showing, instead printing the full range. Although this may be user error, I'm trying "20-21".

EXPECTED RESULT

View both characters

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Mint Victoria 21.3 (Ubuntu, cinnamon)
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Albert Astals Cid 2024-02-07 20:47:30 UTC
Can you attach a screenshot?
Comment 2 David Campbell 2024-02-07 21:39:04 UTC
Created attachment 165651 [details]
Imagine showing pages selector not being wide enough for two characters
Comment 3 David Campbell 2024-02-07 21:41:15 UTC
I have restarted before this screenshot. Prior to this Okular was not showing in dark mode, and the dialogue box width was correct. What the relevance of that information is I don't know.
Comment 4 Albert Astals Cid 2024-02-07 22:58:06 UTC
How many pages has that document? It would seem it only has 3 pages? Can you show a screenshot of a document with something like 20 pages?
Comment 5 David Campbell 2024-02-08 00:08:16 UTC
32 pages.
Comment 6 Albert Astals Cid 2024-02-13 22:55:43 UTC
Interesting would you be able to run some other desktop environment/windowing system? For me the dialog gets bigger, and i wonder if it has to do with you running cinnamon
Comment 7 David Campbell 2024-02-15 22:00:12 UTC
Sorry for the slow response. I installed GNOME on the Live CD version of Mint, with the same behavior as the outcome. And checked that it did the same in Cinnamon out of the box. All screenshots here: https://imgur.com/a/OPENkdL

It makes the box too small however many digits the page list is. For the gnome, I changed from gdm also, so it's not that.
Comment 8 Albert Astals Cid 2024-02-15 22:14:00 UTC
Seems like it may be either a bug in the window manager or in the style or somewhere, it works fine for me, someone should put the time to invetigate, i don't have time to do it.