Bug 464409 - File selection dialog list view shows visual glitches when enabling preview panel
Summary: File selection dialog list view shows visual glitches when enabling preview p...
Status: RESOLVED FIXED
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: Open/save dialogs (show other bugs)
Version: 5.102.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KIO Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-17 13:26 UTC by Andrea Ippolito
Modified: 2024-03-15 21:50 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
screenshot of the problem in Kate file picker (173.21 KB, image/png)
2023-11-03 17:35 UTC, Andrea Ippolito
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrea Ippolito 2023-01-17 13:26:05 UTC
SUMMARY
I'm reproducing this with Firefox 108, but this issue has been annoying me for a while, so for sure it's reproducible on previous versions of both Firefox and KDE.


STEPS TO REPRODUCE
1. Open Firefox
2. Open the Open file dialog (Ctrl + O)
3. Make sure it is using the KDE file picker instead of the GTK one
4. Disable the preview panel, then go to a folder with several files and hover your mouse over them - you shouldn't see any visual glitches
5. now enable the preview panel and repeat, you will see visual artifacts (line only half highlighted, contents not refreshing under cursor, etc). Artifacts can be so severe that you actually don't know anymore which file is selected, if it weren't for the text field just below.

I have recorded this issue with OBS. When the glitch happens, at some point I stop moving the mouse and just try to navigate with arrow up/down. That's why you see the file names changing, but there is no visual hint at all about which file is currently selected in the list view.

Video is here (Google Photos still processing it to make it full-res):
https://photos.app.goo.gl/w6g1aunZzt2spm1r5


Operating System: openSUSE Tumbleweed 20230115
KDE Plasma Version: 5.26.5
KDE Frameworks Version: 5.101.0
Qt Version: 5.15.8
Kernel Version: 6.1.4-1-default (64-bit)
Graphics Platform: Wayland
Processors: 8 × 11th Gen Intel® Core™ i7-1165G7 @ 2.80GHz
Memory: 15.4 GiB of RAM
Graphics Processor: Mesa Intel® Xe Graphics
Manufacturer: Dell Inc.
Product Name: XPS 13 9305
Comment 1 Nate Graham 2023-01-17 21:42:52 UTC
Thanks for the screen recording! Does the same thing happen with the KDE file selection dialog from an app not using the XDG portal infrastructure? For example in a KDE app like KWrite that's been packaged by your distro, not a Flatpak or Snap app.
Comment 2 Andrea Ippolito 2023-01-17 22:33:12 UTC
(In reply to Nate Graham from comment #1)
> Thanks for the screen recording! Does the same thing happen with the KDE
> file selection dialog from an app not using the XDG portal infrastructure?
> For example in a KDE app like KWrite that's been packaged by your distro,
> not a Flatpak or Snap app.

Hello Nate,

unfortunately it looks like Kate is also affected :(

Recording:
https://photos.app.goo.gl/YrPbEcog47fhEonu8

It's the one that came with my Tumbleweed setup, no fancy packaging.

Thanks a lot!
Comment 3 Andrea Ippolito 2023-01-17 22:34:52 UTC
(In reply to andrea.ippo from comment #2)
> (In reply to Nate Graham from comment #1)
> > Thanks for the screen recording! Does the same thing happen with the KDE
> > file selection dialog from an app not using the XDG portal infrastructure?
> > For example in a KDE app like KWrite that's been packaged by your distro,
> > not a Flatpak or Snap app.
> 
> Hello Nate,
> 
> unfortunately it looks like Kate is also affected :(
> 
> Recording:
> https://photos.app.goo.gl/YrPbEcog47fhEonu8
> 
> It's the one that came with my Tumbleweed setup, no fancy packaging.
> 
> Thanks a lot!

FYI I just noticed on my system info that I have meanwhile updated to 5.102 (I update my Tumbleweed several times a week and the last update happened to happen tonight after I reported this). So I can confirm that this version is also affected, for what it's worth.
Comment 4 Nate Graham 2023-01-18 19:15:15 UTC
Thanks for the screen recording!
Comment 5 Yaroslav Sidlovsky 2023-08-07 11:24:15 UTC
Spotted same issue on Firefox with Intel video card.
Some info:
---
Operating System: Fedora Linux 38
KDE Plasma Version: 5.27.7
KDE Frameworks Version: 5.108.0
Qt Version: 5.15.10
Kernel Version: 6.4.4-200.fc38.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × 11th Gen Intel® Core™ i5-11600K @ 3.90GHz
Memory: 31.1 ГиБ of RAM
Graphics Processor: Mesa Intel® Graphics
Manufacturer: Gigabyte Technology Co., Ltd.
Product Name: B560M DS3H V2
Comment 6 Andrea Ippolito 2023-11-03 17:34:53 UTC
Hello, are there any news about this?

It's really a pain to do the simplest thing like picking a file to open with Kate, when you are in a directory with many files.

It glitches immediately and you don't know whether the name displayed is the one of the item you have actually selected.

This is a 15' bug IMO, it's a basic DE functionality and it's broken :(

I'm attaching a screenshot of what it looks like.

Thanks :)
Comment 7 Andrea Ippolito 2023-11-03 17:35:56 UTC
Created attachment 162845 [details]
screenshot of the problem in Kate file picker
Comment 8 Andrea Ippolito 2024-03-15 21:50:05 UTC
Can no longer reproduce on Plasma 6.0.0, closing.