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

            Bug ID: 528673
           Summary: Koko becomes unresponsive when a large SVG image is
                    loading (ANR)
    Classification: Applications
           Product: Koko
      Version First unspecified
       Reported In:
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: General
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

DESCRIPTION
Title.

Koko leaves the UI unresponsive while the image that is loading is an SVG,
instead of showing the loading placeholder.

This makes it really uncomfortable to navigate through a directory that
contains SVG. There are some files that take long to load- such as my ui
concepts- that tank Koko. I'd attach one but the file is ~80 MB.

The problem (here) is not the load time, but the fact that the UI becomes
unresponsive while loading a large SVG file. I've triggered a SIGABRT to get a
backtrace but there was no information about where the hang is.

STEPS TO REPRODUCE
1. Put a large, heavy SVG image in a directory along other images. The heavy
SVG item can be a series of 4k PNG images with a heavy gaussian blur tucked in
a page, made in Inkscape, in order for it to take a long time to load.
2. Open Koko in that directory and open the first image in it.
3. Press the Right key repeatedly to navigate through it.

OBSERVED RESULT
The UI hangs the moment you step over a big SVG.

I attempted to get a backtrace (this proves that the UI is actually
unresponsive)but I only got:

(lldb) bt
* thread #1, name = 'koko', stop reason = SIGABRT: sent by tkill system call
(sender pid=682142, uid=1000)
   * frame #0: 0x00007f46a0a9a11c 


EXPECTED RESULT
Koko should show the exact same Loading placeholder that's shown with other
file formats that take long to load.

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

ADDITIONAL INFORMATION

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

Reply via email to