Bug 448054 - The window size is auto set to 120x29 with 120x30 "initial terminal size"
Summary: The window size is auto set to 120x29 with 120x30 "initial terminal size"
Status: REPORTED
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 21.12.1
Platform: Arch Linux Linux
: NOR minor
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-07 11:04 UTC by Henry Zhang
Modified: 2022-01-07 11:07 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Henry Zhang 2022-01-07 11:04:49 UTC
SUMMARY
The initial terminal size is wrong under certain conditions 

STEPS TO REPRODUCE
1. Disable "Remember window size"
2. Set "Initial terminal size"  in profile to 120x30
3. Reopen Konsole

OBSERVED RESULT
got a 120x29 window

EXPECTED RESULT
got a 120x30 window

SOFTWARE/OS VERSIONS
Linux/KDE Plasma:
KDE Plasma Version: 5.23.5
KDE Frameworks Version: 5.89.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
1. X11
2. 150% global scale
3. I can reproduce this issue when "primary language" is zh_CN or zh_TW, but not en_US
4. I can reproduce this issue when "initial terminal size" is 120x30, but not 120x29 or 120x31
Comment 1 Henry Zhang 2022-01-07 11:07:37 UTC
And actually the window is 120x30 if I resize the window a little (maybe 1 or 2 px?)