You are not logged in.
Hi,
I have chrome [google-chrome-stable] working on plasma 6/wayland (with --ozone-platform-hint=auto in ~/.config/chrome-flags.conf). All appears to be working well, except that if I upload a file via drag and drop, the interface doesn't accept any more mouse input. Keyboard input works fine.
To reproduce:
launch gmail or outlook in chrome; compose mail; add file attachment via drag and drop. At this point, mouse clicks cease to work within the chrome interface (and widgets don't change on mouseover, etc.). Keypresses are unaffected. Outside the chrome window, everything is as normal. The only resolution I've found is to kill chrome via Alt-F X and restart it.
Does anyone have a clue what is going on/where I should start looking? I can obviously run chrome under xwayland in the meantime, but it would be nice to get this fixed.
EDIT: see also https://bugs.kde.org/show_bug.cgi?id=482142
Last edited by martinc2 (2024-03-11 15:49:37)
Offline
Just to let you know you're not alone, I'm facing the same issue. Couldn't figure out why until now either...
Offline
Having this problem for months now.
Plasma 6 + Nvidia + Chromium
Does it also affect dragging and dropping selected plain text within the browser? It also disables mouse input.
Offline
It does for me, on Chrome 124. Only solution is to close the browser with Alt+F4 and open it again.
Offline
I wrote this userscript to disable dragging altogether since I tend to do it accidentally quite often, and it really annoys me when it crashes. Use this script with Tampermonkey or whatever other things exist for this sort of thing to apply it and it should stop the accidental crashes.
// ==UserScript==
// @name Disable Dragging
// @namespace http://tampermonkey.net/
// @version 0.1
// @match *://*/*
// @grant none
// ==/UserScript==
(function() {
'use strict';
document.addEventListener('dragstart', function(event) {
event.preventDefault();
}, false);
})();
Just install Tampermonkey in your browser, create a new script, and paste this code into it. It should help prevent any accidental drags from causing crashes.
Last edited by Unknown_Erase (2024-04-22 03:41:08)
Offline
This bug gets me at least 3 times per day with how much I accidentally drag. I've also confirmed the same issue with the chomium package from [extra]. I'm on Plasma 6 and intel iGPU.
Edit: the userscript posted above is working well enough for now
Last edited by duhdugg (2024-04-30 04:18:22)
Offline
Same here:
Manjaro
Plasma 6 (plasmashell 6.0.4)
Chromium 124.0.6367.60
Wayland
AMD iGPU
Ozone platform: Wayland
All relevant hardware acceleration features enabled in Chrome
Offline
Seems like there's an open chromium bug for this now in https://issues.chromium.org/issues/336449364
It's quite anoying to have this though - so i (temporarily) went back to x11 for chromium - as i don't really want to install plugins just to work around such a bug.
edit x11 mode shows ugly lags - so i went with the above script after all.
Last edited by xmatthias (2024-05-01 09:11:16)
Offline
There's a patch for kwin here that fixed it for me: https://bugs.kde.org/show_bug.cgi?id=482142#c34
Offline
https://invent.kde.org/plasma/kwin/-/co … 8f4cec253c
This seems to be an official fix that works for me.
Bugtracker (https://bugs.kde.org/show_bug.cgi?id=482142) says it will be fixed in version 6.1.
Maybe we can cherry-pick this fix in later packages until its official release.
Offline
The patch has been applied to the Arch package: https://gitlab.archlinux.org/archlinux/ … requests/1
Offline