[umbrello] [Bug 408050] New: Cannot open any files (QTemporaryFile::exists() returns false)

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Wed May 29 03:11:49 BST 2019


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

            Bug ID: 408050
           Summary: Cannot open any files (QTemporaryFile::exists()
                    returns false)
           Product: umbrello
           Version: 2.27.2 (KDE Applications 18.12.2)
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: umbrello-devel at kde.org
          Reporter: kgamesan at hotmail.com
  Target Milestone: ---

Created attachment 120367
  --> https://bugs.kde.org/attachment.cgi?id=120367&action=edit
Sample xmi file to show problem - but happens with any file.

SUMMARY
Cannot open any files. Files can be saved.

STEPS TO REPRODUCE
1. Open umbrello
2. Open file

OBSERVED RESULT
Error dialog shows up: The file <file:///....> does not exist

EXPECTED RESULT
File should open

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Fedora Release 29; Umbrello: 2.27.2 / Fedora package:
umbrello-18.12.2-1.fc29.src.rpm
(available in About System):
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Error dialog is thrown in line 517 of umldoc.cpp as tmpfile.exists() (in line
512) returns false

I can use gdb to manually jump from 512 to 537 and am able to open files.
To reproduce...
 1. Install debuginfo files for umbrello (and qt5-core)
 2. Break at *0x000055555565b37b (break *0x000055555565b37b)
 3. Jump past if block (j *0x55555565b396)

For some reason tmpfile::exists() suddenly reports false in line 512.
file.exists() reports true in the same line!

I reported the bug to redhat/fedora
(https://bugzilla.redhat.com/show_bug.cgi?id=1711446) - but they requested that
it be filed here also/instead.

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


More information about the umbrello-devel mailing list