Bug 467518 - KWrite doesn't respect initial window size setting set in System Settings
Summary: KWrite doesn't respect initial window size setting set in System Settings
Status: RESOLVED NOT A BUG
Alias: None
Product: kate
Classification: Applications
Component: kwrite (other bugs)
Version First Reported In: 22.12.3
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-18 10:47 UTC by Łukasz Konieczny
Modified: 2023-03-18 15:32 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Łukasz Konieczny 2023-03-18 10:47:57 UTC
SUMMARY
KWrite doesn't respect initial window size setting set in System Settings, that means when I set, that KWrite should appear after launching in such way that it has for example size of 400 px x 500 px, when I resize manually KWrite window, close KWrite and then launch it, it doesn't have size of 400 px x 500 px.


STEPS TO REPRODUCE
1. Set initial size of KWrite window in System Settings or by clicking KWrite's icon in top-left corner of the window, set even rejecting window geometry demanding to "yes".
2. Launch KWrite. Resize its window manually. Close KWrite.
3. Launch KWrite. Observe, that KWrite's window doesn't have size of initial size set.

OBSERVED RESULT
KWrite doesn't respect window rules settings.

EXPECTED RESULT
KWrite fully respects window rules settings.

SOFTWARE/OS VERSIONS
Operating System: Kubuntu 22.10
KDE Plasma Version: 5.27.3
KDE Frameworks Version: 5.104.0
Qt Version: 5.15.6
Kernel Version: 5.19.0-35-generic (64-bit)
Graphics Platform: X11
Processors: 8 × 11th Gen Intel® Core™ i5-1135G7 @ 2.40GHz
Memory: 31.2 GiB of RAM
Graphics Processor: Mesa Intel® Xe Graphics
Manufacturer: System76
Product Name: Darter Pro
System Version: darp7

ADDITIONAL INFORMATION
Kubuntu Backports PPA enabled.
Comment 1 Paul Worrall 2023-03-18 15:32:11 UTC
Quoting from the message that appears at the top of the settings dialog:

Some applications set their own geometry after starting, overriding your initial settings for size and position. To enforce these settings, also force the property "Ignore requested geometry" to "Yes".

So, you need to add the property "Ignore requested geometry" and set it to "Force"