Bug 481972

Summary: File picker closes when scrolling
Product: [KDE Neon] neon Reporter: techxgames
Component: Packages User EditionAssignee: Neon Bugs <neon-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: aleixpol, bruno, clay, jgrulich, johnmaverick74, jr, kde, kde, nate, neon-bugs, nicolas.fella, sitter
Priority: NOR Keywords: qt6
Version: unspecified   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description techxgames 2024-02-28 22:28:26 UTC
SUMMARY
The moment my scroll wheels scrolls a bit, the file chooser suddenly closes.

STEPS TO REPRODUCE
1. Right click and Save As
2. Scroll

OBSERVED RESULT
File picker closes the moment I scroll

EXPECTED RESULT
I should be able to scroll

SOFTWARE/OS VERSIONS
Operating System: KDE neon 6.0
KDE Plasma Version: 6.0.0
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.6.10-76060610-generic (64-bit)
Graphics Platform: Wayland
Processors: 12 × 11th Gen Intel® Core™ i5-11400 @ 2.60GHz
Memory: 31.1 GiB of RAM
Graphics Processor: AMD Radeon Pro WX 3200 Series

ADDITIONAL INFORMATION
I tested with Firefox Snap, Vivladi (apt) and Microsoft Edge (Flatpak).

The moment my scroll wheels scrolls a bit, the file choose suddenly closes.

I'm on Plasma 6 Wayland.  I have yet to test on X11.

I have never encountered this on Unstable Edition, and I have used Firefox (snap) and accessed the file chooser frequently.
Comment 1 guimarcalsilva 2024-02-29 00:25:17 UTC
I can reproduce it on Vivaldi and Firefox.
Comment 2 Nicolas Fella 2024-02-29 12:13:01 UTC
Does it crash, i.e. is there a crash report from DrKonqi or coredumpctl? Or does the window just close?
Comment 3 techxgames 2024-02-29 13:16:48 UTC
(In reply to Nicolas Fella from comment #2)
> Does it crash, i.e. is there a crash report from DrKonqi or coredumpctl? Or
> does the window just close?

It just closes
Comment 4 Kai Uwe Broulik 2024-02-29 13:32:04 UTC
Wonder if that is also that wayland relative motion protocol issue, i.e. "wl_pointer has no event 10"
Comment 5 techxgames 2024-02-29 13:43:09 UTC
I've confirmed that, by going back to X11, it doesn't happen anymore.  I'll stay here in the meantime (as this is a work computer).

Strange that I've never encountered this on my Unstable edition.
Comment 6 techxgames 2024-02-29 19:14:51 UTC
(In reply to Kai Uwe Broulik from comment #4)
> Wonder if that is also that wayland relative motion protocol issue, i.e.
> "wl_pointer has no event 10"
$ journalctl -f
Hint: You are currently not seeing messages from other users and the system.
      Users in groups 'adm', 'systemd-journal' can see all messages.
      Pass -q to turn off this notice.
Feb 29 14:12:57 FTO-Y4M1.folksvfx.int xdg-desktop-portal-kde[4620]: interface 'wl_pointer' has no event 10
Feb 29 14:12:57 FTO-Y4M1.folksvfx.int xdg-desktop-portal-kde[4620]: The Wayland connection experienced a fatal error: Bad address
Feb 29 14:12:57 FTO-Y4M1.folksvfx.int systemd[4006]: plasma-xdg-desktop-portal-kde.service: Main process exited, code=exited, status=255/EXCEPTION
Feb 29 14:12:57 FTO-Y4M1.folksvfx.int xdg-desktop-por[4334]: Backend call failed: Message recipient disconnected from message bus without replying
Feb 29 14:12:57 FTO-Y4M1.folksvfx.int kioworker[7816]: kf.kio.core: An error occurred during write. The worker terminates now.
Feb 29 14:12:57 FTO-Y4M1.folksvfx.int systemd[4006]: plasma-xdg-desktop-portal-kde.service: Failed with result 'exit-code'.
Feb 29 14:12:57 FTO-Y4M1.folksvfx.int systemd[4006]: plasma-xdg-desktop-portal-kde.service: Consumed 1.847s CPU time.
Feb 29 14:12:58 FTO-Y4M1.folksvfx.int env[4724]: 14:12:58.365 › Error: No password found
Feb 29 14:12:58 FTO-Y4M1.folksvfx.int env[4724]: 14:12:58.376 › Error: No password found
Feb 29 14:13:01 FTO-Y4M1.folksvfx.int xdg-desktop-por[4334]: Could not find WebExtensions backend: cannot find native messaging server
Feb 29 14:13:07 FTO-Y4M1.folksvfx.int xdg-desktop-por[4334]: Could not find WebExtensions backend: cannot find native messaging server
Feb 29 14:13:07 FTO-Y4M1.folksvfx.int plasmashell[7132]: [Parent 7132, Main Thread] WARNING: OnCloseSessionDone error: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: Object does not exist at path “/org/freedesktop/portal/desktop/session/1_88/firefox_ax_nd_profile_switcher_ff_3194411121”: 'glib warning', file /build/firefox/parts/firefox/build/toolkit/xre/nsSigHandlers.cpp:187
Feb 29 14:13:07 FTO-Y4M1.folksvfx.int firefox[7132]: OnCloseSessionDone error: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: Object does not exist at path “/org/freedesktop/portal/desktop/session/1_88/firefox_ax_nd_profile_switcher_ff_3194411121”
Feb 29 14:13:08 FTO-Y4M1.folksvfx.int env[4724]: 14:13:08.382 › Error: No password found
Feb 29 14:13:08 FTO-Y4M1.folksvfx.int env[4724]: 14:13:08.390 › Error: No password found
Feb 29 14:13:09 FTO-Y4M1.folksvfx.int plasmashell[7132]: [Parent 7132, Main Thread] WARNING: Server is missing xdg_foreign support: 'glib warning', file /build/firefox/parts/firefox/build/toolkit/xre/nsSigHandlers.cpp:187
Feb 29 14:13:09 FTO-Y4M1.folksvfx.int plasmashell[7132]: [Parent 7132, Main Thread] WARNING: Failed to export handle, could not set transient for: 'glib warning', file /build/firefox/parts/firefox/build/toolkit/xre/nsSigHandlers.cpp:187
Feb 29 14:13:09 FTO-Y4M1.folksvfx.int firefox[7132]: Server is missing xdg_foreign support
Feb 29 14:13:09 FTO-Y4M1.folksvfx.int firefox[7132]: Failed to export handle, could not set transient for
Feb 29 14:13:09 FTO-Y4M1.folksvfx.int dbus-daemon[4030]: [session uid=10715 pid=4030] Activating via systemd: service name='org.freedesktop.impl.portal.desktop.kde' unit='plasma-xdg-desktop-portal-kde.service' requested by ':1.15' (uid=10715 pid=4334 comm="/usr/libexec/xdg-desktop-portal ")
Feb 29 14:13:09 FTO-Y4M1.folksvfx.int systemd[4006]: Starting Xdg Desktop Portal For KDE...
Feb 29 14:13:09 FTO-Y4M1.folksvfx.int dbus-daemon[4030]: [session uid=10715 pid=4030] Successfully activated service 'org.freedesktop.impl.portal.desktop.kde'
Feb 29 14:13:09 FTO-Y4M1.folksvfx.int systemd[4006]: Started Xdg Desktop Portal For KDE.
Feb 29 14:13:11 FTO-Y4M1.folksvfx.int xdg-desktop-portal-kde[7929]: interface 'wl_pointer' has no event 10
Feb 29 14:13:11 FTO-Y4M1.folksvfx.int xdg-desktop-portal-kde[7929]: The Wayland connection experienced a fatal error: Resource temporarily unavailable
Feb 29 14:13:11 FTO-Y4M1.folksvfx.int systemd[4006]: plasma-xdg-desktop-portal-kde.service: Main process exited, code=exited, status=255/EXCEPTION
Feb 29 14:13:11 FTO-Y4M1.folksvfx.int xdg-desktop-por[4334]: Backend call failed: Message recipient disconnected from message bus without replying
Feb 29 14:13:11 FTO-Y4M1.folksvfx.int systemd[4006]: plasma-xdg-desktop-portal-kde.service: Failed with result 'exit-code'.
Feb 29 14:13:11 FTO-Y4M1.folksvfx.int systemd[4006]: plasma-xdg-desktop-portal-kde.service: Consumed 2.225s CPU time.
Feb 29 14:13:12 FTO-Y4M1.folksvfx.int systemd[4006]: Started Consume pending crashes using DrKonqi.
Feb 29 14:13:12 FTO-Y4M1.folksvfx.int xdg-desktop-por[4334]: Could not find WebExtensions backend: cannot find native messaging server
Feb 29 14:13:12 FTO-Y4M1.folksvfx.int dbus-daemon[4030]: [session uid=10715 pid=4030] Activating via systemd: service name='org.freedesktop.impl.portal.desktop.kde' unit='plasma-xdg-desktop-portal-kde.service' requested by ':1.15' (uid=10715 pid=4334 comm="/usr/libexec/xdg-desktop-portal ")
Feb 29 14:13:12 FTO-Y4M1.folksvfx.int systemd[4006]: Starting Xdg Desktop Portal For KDE...
Feb 29 14:13:12 FTO-Y4M1.folksvfx.int dbus-daemon[4030]: [session uid=10715 pid=4030] Successfully activated service 'org.freedesktop.impl.portal.desktop.kde'
Feb 29 14:13:12 FTO-Y4M1.folksvfx.int systemd[4006]: Started Xdg Desktop Portal For KDE.
Feb 29 14:13:12 FTO-Y4M1.folksvfx.int krb5-auth-dialo[4733]: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed
Feb 29 14:13:12 FTO-Y4M1.folksvfx.int krb5-auth-dialo[4733]: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed


seems to be the case.
Comment 7 bruno 2024-03-01 12:26:48 UTC
can reproduce on stable kde neon and wayland, pretty annoying! doesn't happen when scrollbar is used
Comment 8 David Redondo 2024-03-01 16:08:54 UTC
Indeed, I checked in a vm. Moving to neon, needs a rebuild of xdg-desktop-portal-kde against a newer wayland
I've triggered a new build now, which should then be included in the next user update
Comment 9 Harald Sitter 2024-03-01 16:43:59 UTC
Should be fixed in latest snapshot.
Comment 10 bruno 2024-03-01 17:49:18 UTC
confirmed fixed in neon :D