I installed ubuntu 22.04 LTS using the live bootable image. I am unable to send files by dragging and droping into the various application. But when I use xOrg, the problem seems to disappear. Please help.
Thanks in advance.
I installed ubuntu 22.04 LTS using the live bootable image. I am unable to send files by dragging and droping into the various application. But when I use xOrg, the problem seems to disappear. Please help.
Thanks in advance.
Using Brave or Edge or Chrome browser since upgrading to 22.04 drag and drop to a file upload pane does not work 95% of the time. Sometimes it works the first time you try it in a session.
This happens across a wide range of websites, all of which worked correctly with these browsers before the upgrade.
It can be fixed by disabling Wayland and using X11 instead - this restores normal functionality.
Clearly a Wayland problem but I can't report it as a bug on ubuntu because when I run the tool it says I don't have Wayland installed - because it is disabled and I'm not about to re-enable it because it is VERY flakey and is causing multiple problems.
Perhaps someone more competent than me can report it as a bug. My recommendation would be that the use of Wayland as a default should be reversed to re-enable X11 by default as Wayland seems to be causing many problems.
This is going to negatively impact Ubuntu and re-inforce the "Linux only suitable for techie nerds" label that I thought we had left behind.
In the meantime if you make sure you know your user password and logout, and then start to login again, when the password box appears there is a little gear icon at the bottom right of the screen - click on it and it will offer you the choice of Wayland or Xorg (X11) - select X11 and it will remember the setting for that user and multiple problems will disappear.
There seems to be no practical advantage to using Wayland, some applications like Eclipse run much faster using X11 - essentially you get your old 20.04 machine back again which just works.
As others have hinted, it is a permission issue.
Opening folders with sudo nautilus /home/user/ or sudo xdg-open /home/user/ fixes this.
Edit: It seems it's been fixed now. I could re-enable wayland in my /etc/gdm3/custom.conf (set to true), and then sudo systemctl restart gdm3.
Relevant bug tickets:
It seems this is caused by a bug in 'mutter', ref issue 2216 There seems to be a merge request, but the issue is still open. I guess I will use the xOrg version until this is resolved.
After upgrading to 22.04, and much sweat over previous wxPython programs not running, and - worst of all - TKinter drag and drop not working, I discovered the problem is Wayland.
Using the above advice, and logging back in using the gear selector on the right bottom of the logon screen and selecting X11, the wxPython problems went away and Tkinter drag and drop works perfectly fine.
Could have done with some more obvious information about this problem with Wayland!
I use web.whatsapp.com under Firefox with ubuntu 20.04 and I think it is not ubuntu related but web.whatsapp itself that causes the issue. When I try it, the error report is
Drag and drop is not supported an invalid drag type was used
but right clicking the image in whatsapp and copy/paste works fine
I suspect it is more than just a permissions issue. I use WhatSie, which appears to be a container to run WhatsApp Web, and with it, I am -- apparently -- only able to upload documents and images from within the /home directory -- which is, BTW, also the same problem with Snaps.
My workflow proceeds from a /development directory, which is "cannon" across the various desktops, laptops, and the like that I work on. I don't always use the same username everywhere, nor should I have to. And the one on my desktop at work is assigned by policy... well you know how that goes.
Since we are talking Ubuntu here, this was a continual problem I ran into with Snap applications. And Canonical seems to want to run all applications out of snaps, including the browsers.
Only file permissions and ownership should matter, not whether it's running out of /home.
I approached the developers behind Snap a few years back, and they indicated that it's a "known problem", and they would "get around" to "addressing it" later. A very genteel blow-off, if I ever saw one.
So I dropped Ubuntu and went to Arch, with a very brief step though Manjaro -- only because so many were bitching that installing Arch was "hard".
When I installed Arch on this new system I built using the latest motherboard, Threadripper, and all, only Arch worked. Manjaro (and Ubuntu) failed to install at the time. That made an impression on me. And installing Arch was staightforward, as it is well-documented on the Arch Wiki.+
But I digress.
Not looking to start an rwar over Snaps. If it works for you and you don't mind it cluttering up your device lists with all those loop devices, one per application, and it keeping you jailed at /home, go for it.
But I prefer a cleaner experience.
Looks to me that this is a flatpack and snap problem. I installed Telegram via ppa and drag and drop works just fine. Probably a folder permission issue. Ubuntu 24.04 and Telegram-Desktop 5.8.3