[kmymoney] [Bug 457806] New: Invalid display definition in [MainWindow] section of kmymoneyrc file on Windows

Ralf Habacker bugzilla_noreply at kde.org
Fri Aug 12 16:24:55 BST 2022


https://bugs.kde.org/show_bug.cgi?id=457806

            Bug ID: 457806
           Summary: Invalid display definition in [MainWindow] section of
                    kmymoneyrc file on Windows
           Product: kmymoney
           Version: 5.1.3
          Platform: Other
                OS: Microsoft Windows
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kmymoney-devel at kde.org
          Reporter: ralf.habacker at freenet.de
  Target Milestone: ---

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

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the KMyMoney-devel mailing list