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

            Bug ID: 437801
           Summary: krunner crash when installing a plugin through a
                    'install.sh' file if the file already exists
           Product: krunner
           Version: 5.21.5
          Platform: Archlinux Packages
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: alexander.loh...@gmx.de
          Reporter: isho.w...@protonmail.com
                CC: plasma-b...@kde.org
  Target Milestone: ---

SUMMARY

Tested with https://store.kde.org/p/1419376

When installing a plugin using a standalone 'install.sh' script (like
krunner-symbols above provides), if 'install.sh' exists in
`~/.local/share/krunner-sources` causes the installer to offer an option to
override the file, pressing 'No' a) causes the installer to display the same
dialog again and b) pressing 'Yes' on the second one crashes the whole thing.

STEPS TO REPRODUCE
1. $ touch ~/.local/share/krunner-sources/install.sh # [1]
2. Open the plugin installer (Open krunner -> Configure krunner -> Get New
Plugins...)
3. Search for 'krunner-symbols' (link above)
4. Click 'install'
5. When asked if you want to override the file say 'No'
6. Another override dialog appears, say 'Yes'
7. Crash! 

[1]: Why would you manually create that file?

I wouldn't, when i encountered this bug it happened due to the installation
failing (script wasn't/isn't executable) and the installer leaving the file
there.
This is just to make it easier to reproduce. 

OBSERVED RESULT

Plugin installer crashing.

EXPECTED RESULT

The installer should've listened the first time i told it Not to override, and
not open the same dialog again, for some reason (another bug?)

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux, Kernel '5.12.7-hardened1-1-hardened'
KDE Plasma Version: 5.21.5
KDE Frameworks Version: 5.82.0
Qt Version: 5.15.2

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

Reply via email to