Bug 448054

Summary: The window size is auto set to 120x29 with 120x30 "initial terminal size"
Product: [Applications] konsole Reporter: Henry Zhang <henry-zhr>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: REPORTED ---    
Severity: minor    
Priority: NOR    
Version: 21.12.1   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:

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?)