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

            Bug ID: 525469
           Summary: Window takes a long time to spawn if the picture to
                    open is a PNG, but displays PNG pics effortlessly
                    while running (triggered crash attached)
    Classification: Applications
           Product: Photos
      Version First 26.08.0
       Reported In:
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: General
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Created attachment 195936
  --> https://bugs.kde.org/attachment.cgi?id=195936&action=edit
Crash triggered while stuck to get a backtrace

DESCRIPTION
Before you get tempted to flag this as a duplicate of
https://bugs.kde.org/show_bug.cgi?id=521823 , I am not using the faulty
libpng-apng from the last time, but libpng from cachyos-extra-v3.

As the title states, the window loading process gets stuck if the picture to
open is a .png, and is more likely to get stuck if there is already an open
window of Photos yet the delay is presented nevertheless.

The delay can range up to ~20 s, and both thumbnails and full PNG pictures are
rendered in no time within Photos itself. The delay is only present when
opening Photos externally such as double clicking a PNG file.

I've triggered a SIGABRT when it is stuck to get a .kcrash of this. I would not
be surprised if the problem is that libpng likes to get thread starved when
compiled with any kind of optimization flags, but I am not really sure given
the backtrace.

STEPS TO REPRODUCE
1. Open a PNG file with a double click with Photos set as your default viewer

OBSERVED RESULT
Window takes a long time to load up (5s with JPG vs 15+ with PNG), while
navigating PNG files within Photos does not cause visible delays.

EXPECTED RESULT
Window spawn should not take any longer regardless of the file format. 

Ideally, the window is to spawn first of all and only once shown up, start
loading the picture and the folder.

SOFTWARE/OS VERSIONS
Operating System (available in the Info Center app, or by running `kinfo` in a
terminal window):
KDE Plasma Version: 6.7.4
KDE Frameworks Version: 6.29.0
Qt Version: 6.11.2

ADDITIONAL INFORMATION
Attached a triggered .kcrash

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to