Bug 483493

Summary: On X11, icon picker dialog closes when "Browse" is selected
Product: [Frameworks and Libraries] frameworks-kiconthemes Reporter: mozo <smitha>
Component: generalAssignee: Christoph Feck <cfeck>
Status: REPORTED ---    
Severity: normal CC: cprog, fifi_fifito74, kde, kde, kdelibs-bugs, nate, smitha
Priority: NOR Keywords: qt6
Version: 6.0.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: A video of the problem
A screenshot of the Browse button

Description mozo 2024-03-13 22:55:07 UTC
Created attachment 167133 [details]
A video of the problem

SUMMARY
One can't change files icon if "Browse" is selected. There's no problem if I choose "All', "Mimetypes", "Actions", etc. but when I choose Browse to select a custom Icon, the dialog closes itself immediately and I can't choose anything.

https://i.imgur.com/SMBthPl.png

STEPS TO REPRODUCE
1. Open file properties and try to change the icon with a cusrom icon, other than the system suggested.
2. 
3. 

OBSERVED RESULT
The dialog closes itself immediately and I can't choose an icon.

EXPECTED RESULT
There shoud be a possibility to choose an icon and the dialog shouldn't closes itself.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.0.1
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.7.9-arch1-1 (64-bit)
Graphics Platform: X11
Processors: 32 × Intel® Core™ i9-14900KF
Memory: 62.6 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 4090/PCIe/SSE2
Manufacturer: ASUS
Comment 1 mozo 2024-03-13 22:58:25 UTC
Created attachment 167134 [details]
A screenshot of the Browse button

A screenshot of the Browse button
Comment 2 fifi 2024-03-14 12:53:35 UTC
Hello, I have the same problem on Plasma 6.0.2.
Comment 3 mozo 2024-03-14 13:18:35 UTC
Plasma 6.0.2 lended on Arch and I still experience this problem.
Comment 4 cprog 2024-03-15 05:19:28 UTC
Same here
Comment 5 mozo 2024-03-15 09:29:48 UTC
Just realized that the bug occurs only on X11.
Comment 6 Nate Graham 2024-04-09 22:44:19 UTC
Works for me on Wayland.

Is anything *crashing*? Can affected folks look for crash logs using `coredumpctl --reverse`?

If not, please run `journalctl -f` and see if anything is printed when the dialog abruptly closes.
Comment 7 mozo 2024-04-09 22:58:52 UTC
(In reply to Nate Graham from comment #6)
> Is anything *crashing*? Can affected folks look for crash logs using

No, the window just closes itself as if the close button is pressed.
Comment 8 Nate Graham 2024-04-09 22:59:28 UTC
Then please get the journal logs I asked for.
Comment 9 mozo 2024-04-09 23:01:36 UTC
I will but in a day or two for I'm already reverted to Plasma 5 and I have to backup and restore again. Plasma 6 isn't there yet - too many bugs.
Comment 10 mozo 2024-04-10 08:32:59 UTC
In the meantime you can try it yorself - the bug is 100% reproducible on every single macihine. Then you can see the logs and whatever you want.
Comment 11 mozo 2024-04-10 09:40:50 UTC
'coredumpctl --reverse' doesn't show anything.

Here's the log from 'journalctl -f' when I try the browse button of the icon picker:
https://pastebin.com/kKj6iAni
Comment 12 mozo 2024-05-04 15:36:05 UTC
Three minor Plasma versions and this bug isn't fixed yet.