question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Drag and drop does not work in Wayland

See original GitHub issue

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: 1.69.2
  • OS Version: Manjaro Linux, Kernel: 5.15, Wayland, WM: sway

Steps to Reproduce:

  1. Add --enable-features=UseOzonePlatform --ozone-platform=wayland to code-flags.conf
  2. Open code
  3. Attempt to drag tabs, files, or anything else
  4. Does not give any indication that they are being dragged, and the elements to not get moved around

I am unable to re-order windows, create multiple panes with drag and drop, etc

It works if I do not add the flags. The issue is I need the flags for scaling in Wayland.

Issue Analytics

  • State:open
  • Created a year ago
  • Reactions:7
  • Comments:12 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
viallycommented, Aug 9, 2022

For what it’s worth, I can also reproduce this bug (on sway) but only when the title bar style setting is set to native. When using the custom title bar, drag-and-drop seems to work as expected.

2reactions
paarthtandoncommented, Aug 11, 2022

For what it’s worth, I can also reproduce this bug (on sway) but only when the title bar style setting is set to native. When using the custom title bar, drag-and-drop seems to work as expected.

Thank you very much this solved my problem!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Drag and drop not working between Wayland and X11 clients ...
It seems that drag and drop is broken under Wayland. If I switch to xorg, drag and drop works fine. Couple of notes:....
Read more >
Gnome on Wayland problem with drag and drop
Hi, I can´t drag and drop from Files to Firefox or Chromium when using Gnome on Wayland. On this one the solution is...
Read more >
Drag and Drop from file-roller Does not work on Wayland
Try drag and drop Actual results: Drag and drop does not work on wayland session. It looks like hover is behaving correctly and...
Read more >
Many bugs when using Wayland (Drag'n'drop etc.) - Gnome
Sorry for the not so useful post title, but i have a couple of problems when using Wayland that seem to be related,...
Read more >
Drag and Drop does work with Files on Wayland with ... - Reddit
I know this is a bug that exists with the upstream nautilus and I know Pop currently doesn't focus on Wayland, but this...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found