Bug 499538 - kate or kdevelop invade the lower screen when showing a panel and opening a file with too large files.
Summary: kate or kdevelop invade the lower screen when showing a panel and opening a f...
Status: REPORTED
Alias: None
Product: frameworks-ktexteditor
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-02-05 09:00 UTC by Jaime Torres
Modified: 2025-02-05 09:00 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 Jaime Torres 2025-02-05 09:00:42 UTC
SUMMARY
In a system with two screens, one placed above the other, and kdevelop or kate are shown maximized in the upper screen and have some panel shown at the bottom.
When opening a file and the "raise temporary the limit and reload the file" warning is shown, kdevelop and kate changes its size and the lower part invades the lower screen.
It happens in Wayland and X11.

STEPS TO REPRODUCE
1. Open Kdevelop maximized in the upper screen showing one panel at the bottom, or kate with a panel at the bottom.
2. Open a file with large lines that raises the inline warning "raise temporary the limit and reload the file". The maximum vertical size changes and invades the lower screen.
3. The only way to restore its original size is not maximize (if I move the window in that state, it invades the lower screen again) and then maximize.

OBSERVED RESULT
The maximum vertical size is wrongly calculated (Doesn't takes into account the panel size?) and the window is made larger that the upper screen height and invades the lower screen.

EXPECTED RESULT
It behaves like it is run with only one screen.

SOFTWARE/OS VERSIONS
Operating System: Kali GNU/Linux 2024.4
KDE Plasma Version: 6.2.5
KDE Frameworks Version: 6.10.0
Qt Version: 6.7.2
Kernel Version: 6.11.2-amd64 (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i7-8565U CPU @ 1.80GHz
Memory: 15.2 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 620