Bug 484200

Summary: Segfault when closing child color picker dialog with no parents
Product: [Applications] konsole Reporter: Parker Reed <parker.l.reed>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: REPORTED ---    
Severity: crash    
Priority: NOR    
Version: 24.02.1   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: backtrace

Description Parker Reed 2024-03-22 00:17:33 UTC
Created attachment 167584 [details]
backtrace

SUMMARY

Editing any of the current profile's colors, closing the parent windows, and then closing the color picker causes a crash

STEPS TO REPRODUCE
1. Edit Current Profile
2. Appearance
3. Edit
4. Click a color
5. Close Edit Color Scheme and Edit Profile via the titlebar (Window buttons are properly blocked)
6. Close the child Color Picker dialog 

OBSERVED RESULT

Konsole crashes

EXPECTED RESULT

Color Picker closing (or the Edit Color Scheme/Edit Profile titlebar exit buttons being blocked if the Color Picker is open)

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch
KDE Plasma Version: 6.0.2
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2

ADDITIONAL INFORMATION

Attached backtrace
Comment 1 Kurt Hindenburg 2024-03-22 00:48:42 UTC
Are you referring to the color picker on the 'Edit Color Scheme' dialog?  Can you provide steps as it works here.  The backtrace isn't much good.
Comment 2 Parker Reed 2024-03-22 03:35:42 UTC
The steps as I posted them should replicate it.

When you go into the edit color scheme dialog and click on any of the colors like foreground or background and leave that resulting color picker dialog open and close the schemes and profile, proceeding to close the color picker will crash the entire application.
Comment 3 Kurt Hindenburg 2024-03-22 22:10:12 UTC
(In reply to Parker Reed from comment #2)
> The steps as I posted them should replicate it.
> 
> When you go into the edit color scheme dialog and click on any of the colors
> like foreground or background and leave that resulting color picker dialog
> open and close the schemes and profile, proceeding to close the color picker
> will crash the entire application.

I can't get the dialogs to close out of order (#5) running opensuse and neon plasma/x11.