SUMMARY The binary version of KMymoney for Windows stores invalid display values in the named section of the configuration file, preventing application position and size recovery when screen configurations change. STEPS TO REPRODUCE 1. download the portable package for Windows from https://binary-factory.kde.org/view/Windows%2064-bit/job/KMyMoney_Release_win64/. 2. Extract 7z file 3. change to the bin directory and start 'kmymoney 4. close kmymoney 5. inspect the file "%USERPROFILE%\Local settings\Application data\kmymoney\kmymoneyrc". RESULT FOUND The "MainWindow" section contains invalid display definitions as shown below. Instead of a keyword for the monitor, '\s' is included at the beginning of the entries. [MainWindow] \s height 1920x1080=316 \s width 1920x1080=1147 \s XPosition 1920x1080=2560 \s YPosition 1920x1080=282 State=AAAA/wAAAAD9AAAAAABHsAAADmAAAABAAAAAQAAAAIAAAACPwAAAABAAAAAgAAAAAAEAAWAG0AYQBpAG4AVABvAG8AbABCAGEAcgEAAAAA/////wAAAAAAAAAA ToolBarsMovable=Disabled EXPECTED RESULT '\s' should be replaced with a string identifying the associated screen, e.g. "HDMI-0 DVI-I-1" as shown below for a Linux host. [MainWindow] HDMI-0 DVI-I-1 DVI-D-0 Height 1080=573 HDMI-0 DVI-I-1 DVI-D-0 width 1920=705 HDMI-0 DVI-I-1 DVI-D-0 Window maximization 1080x1920=true HDMI-0 DVI-I-1 DVI-D-0 XPosition=1920 HDMI-0 DVI-I-1 DVI-D-0 YPosition=29 SOFTWARE/OS-VERSIONS Windows: 10 KDE frameworks version: 5.96.0 Qt version: 5.15.5
Created attachment 151338 [details] patch As mentioned at https://bugs.kde.org/show_bug.cgi?id=429943#c8 does the associated patch (see https://bugs.kde.org/show_bug.cgi?id=429943#c6) did not solve the issue and the underlaying issue is solved in Qt 6.2. Therefore the appended patch is used for mingw builds of kmymoney.