Bug 448289

Summary: Password required on 2.26.1 version when opening file created on version 2.24.6 without password
Product: [Applications] skrooge Reporter: Marco Sanchotene <marco.sanchotene>
Component: generalAssignee: Guillaume DE BURE <guillaume.debure>
Status: RESOLVED NOT A BUG    
Severity: major CC: stephane
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: 25.1.0   
Platform: Snap   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Traces file

Description Marco Sanchotene 2022-01-11 23:32:27 UTC
Created attachment 145344 [details]
Traces file

SUMMARY
After upgrading Skrooge to 2.26.1 version, the program displays the password dialog when opening a file created on version 2.24.6 without the password protection feature.


STEPS TO REPRODUCE
1. Create a Skrooge file on version 2.24.6 without password protection.
2. Try to open the same file on 2.26.1 version.

OBSERVED RESULT
The password dialog is displayed.

EXPECTED RESULT
The password dialog should not be displayed. The file should open directly.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.23.5
KDE Frameworks Version: 5.89.0
Qt Version: 5.15.3

ADDITIONAL INFORMATION
I have attached the traces.txt as suggested on the FAQ https://skrooge.org/FAQ.
Comment 1 Stephane MANKOWSKI 2022-01-13 21:06:03 UTC
Could you provide a sample file ?
Comment 2 Marco Sanchotene 2022-02-07 00:35:08 UTC
For the record, I contacted Stephane MANKOWSKI by email asking for help to build the 2.24.6 version to generate the sample file he asked for.

Currently, when running the following:

mkdir build && cd build
cmake .. -DCMAKE_INSTALL_PREFIX=`kf5-config --prefix` -DQT_PLUGIN_INSTALL_DIR=`kf5-config --qt-plugins` -DCMAKE_BUILD_TYPE=release -DCMAKE_EXPORT_COMPILE_COMMANDS=1 -DSKG_WEBENGINE=OFF -DSKG_BUILD_TEST=OFF -DSKG_DESIGNER=OFF

 I'm seeing:

CMake Error at /usr/share/cmake-3.21/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
 Could NOT find KF5 (missing: JobWidgets ConfigWidgets KIO NewStuff Parts                                                                                                                                                                   
 XmlGui) (found suitable version "5.89.0", minimum required is "5.0.0")                                                                                                                                                                     
Call Stack (most recent call first):                                                                                                                                                                                                         
 /usr/share/cmake-3.21/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)                                                                                                                                             
 /usr/share/ECM/find-modules/FindKF5.cmake:93 (find_package_handle_standard_args)                                                                                                                                                           
 CMakeLists.txt:76 (FIND_PACKAGE)