Bug 504963 - Konsole windows opened by session restore get narrower when changing tabs
Summary: Konsole windows opened by session restore get narrower when changing tabs
Status: REPORTED
Alias: None
Product: konsole
Classification: Applications
Component: general (other bugs)
Version First Reported In: 25.04.1
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords: X11-only
Depends on:
Blocks:
 
Reported: 2025-05-29 13:54 UTC by sash
Modified: 2025-08-02 20:49 UTC (History)
3 users (show)

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 sash 2025-05-29 13:54:46 UTC
SUMMARY
When changing tabs, the konsole window gets smaller.
Happens with shortcuts (shift-left/right, ctrl pageup/down) as well as using the mouse

STEPS TO REPRODUCE
1. open konsole, 2 tabs
2. switch tabs via shortcut or mouse
3. notice how the right side of the window gets 1 pixel shifted to the left

OBSERVED RESULT
see point 3

EXPECTED RESULT
constant window size

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 6.3.5
KDE Plasma Version:  6.3.5
KDE Frameworks Version: 6.14.0
Qt Version: 6.8.3
Konsole: 25.04.1
running under X11, mandatory can't switch to wayland atm.

ADDITIONAL INFORMATION
local patching and recompiling is possible to isolated/debug, just give me a patch to apply.
Comment 1 sash 2025-05-29 15:12:54 UTC
update:
this happens only to konsole windows that were started on session restore after login.
new windows from those konsoles inherit the issue.
From testing, I got multple konsoles with multiple sessions. all have the issue

Newly started konsole processes do not have this problem.

Just some ideas, just throwing stuff on the wall to see what sticks:
One difference I see: the problematic ones have -session parameter set.
Maybe something in the session is causing this?
starting a new konsole with one of the existing sessions does not have the issue. (2 running with the same id)
Something inherited from session restore?
Comment 2 sash 2025-08-02 20:49:30 UTC
Now I'm running on 25.04.3 and this happens to all konsole instances, started by session restore and afterwards.
I can't usexwayland and the shrinking konsole causes issues with application running in terminals as well (constant resizing).
Anything I can do so that it gets fixes soon? Any kind of patch to manually apply would be fine.