Bug 476452 - Right-clicking in containment crashes plasmashell
Summary: Right-clicking in containment crashes plasmashell
Status: RESOLVED WORKSFORME
Alias: None
Product: plasmashell
Classification: Plasma
Component: Containment (show other bugs)
Version: master
Platform: Other Linux
: NOR crash
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: qt6
: 476453 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-11-02 03:15 UTC by Natalie Clarius
Modified: 2023-12-05 04:53 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Full Backtrace (115.41 KB, text/plain)
2023-11-02 03:15 UTC, Natalie Clarius
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Natalie Clarius 2023-11-02 03:15:42 UTC
Created attachment 162813 [details]
Full Backtrace

STEPS TO REPRODUCE
1. Right-click on wallpaper or panel 

OBSERVED RESULT
Plasmashell crashes, reproducible everytime

SOFTWARE/OS VERSIONS
git master
Only happens on Wayland 

ADDITIONAL INFORMATION
See backtrace. (Would have pasted it in the comment but it exceeds the character limit)
Comment 1 Nate Graham 2023-11-03 20:59:48 UTC
Cannot reproduce. This part is suspicious:

#14 0x00007f2abbfc7b6b in KQuickStyleItem::initStyleOption() (this=0x560b1575ac00)
    at /home/natalie/kde/src/qqc2-desktop-style/plugin/kquickstyleitem.cpp:160
        sizeHint = {d = {d = 0x4040000000000000, ptr = 0x4018000000000000 <error: Cannot access memory at address 0x4018000000000000>, size = 171798691880}, static _empty = 0 u'\000'}
        needsResolvePalette = 112
--Type <RET> for more, q to quit, c to continue without paging--
        preventMirroring = 67
        mirror = 192
        w = -1141114104
        h = 32554
#15 0x00007f2abbfcd83d in KQuickStyleItem::sizeFromContents(int, int) (this=0x560b1575ac00, width=0, height=0)
    at /home/natalie/kde/src/qqc2-desktop-style/plugin/kquickstyleitem.cpp:1041
        size = {wd = 359405464, ht = 22027}
#16 0x00007f2abbfceff0 in KQuickStyleItem::updateSizeHint() (this=0x560b1575ac00)
    at /home/natalie/kde/src/qqc2-desktop-style/plugin/kquickstyleitem.cpp:1317
        implicitSize = {wd = 270452992, ht = 32765}
#17 0x00007f2abbfd0d09 in KQuickStyleItem::setElementType(QString const&) (this=0x560b1575ac00, str=...)
    at /home/natalie/kde/src/qqc2-desktop-style/plugin/kquickstyleitem.cpp:1544

Are you by any chance using a non-Breeze app style? Is your qqc2-desktop-style repo 100% up to date?
Comment 2 Natalie Clarius 2023-11-03 23:54:56 UTC
> Are you by any chance using a non-Breeze app style? Is your
> qqc2-desktop-style repo 100% up to date?

All-defaults test user and sources up to date, but qqc2-desktop-style was the right hint, a refresh-build of that and qqc2-breeze-style fixed it.
Comment 3 Harald Sitter 2023-12-05 04:53:13 UTC
*** Bug 476453 has been marked as a duplicate of this bug. ***