Canvas Cards Drag and Drop Linux/ChromeOS

Steps to reproduce

  1. Open any canvas file or create a new canvas file
  2. Try to drag and drop existing card or create a new card and try to drag and drop

Expected result

I expect the card to drag and drop as expected and move when dragged.

Actual result

The cards are frozen and cannot be moved.

Environment

  • Operating system: ChromeOS, Version 110.0.5481.181 (Official Build) (64-bit)
  • Linux Version: Debian GNU/Linux 11 (bullseye)
  • Debug info:
SYSTEM INFO:
	Obsidian version: v1.1.16
	Installer version: v1.1.9
	Operating system: #1 SMP PREEMPT Mon Feb 20 18:10:10 PST 2023 5.10.159-20950-g3963226d9eb4
	Login status: logged in
	Catalyst license: vip
	Insider build toggle: on
	Live preview: on
	Legacy editor: off
	Base theme: dark
	Community theme: none
	Snippets enabled: 0
	Restricted mode: on

RECOMMENDATIONS:
	none


Additional information

Everything was working as expected a week ago. I didn’t see any errors in the developer console.

This is similar to other reports we got from user using linux under wayland. See if it still happens by using xwayland or x11.
If this is the problem, we’ll wait an upstream fix from electron on the wayland software stack.

1 Like

I installed the Obsidian image at Flathub on Chromebook Linux using Flatpak, so I can set the window manager using Flatseal. If I set the window manager to Wayland only, Obsidian will not load. It will load if I set the window manage to X11 only, but the problem is still present i.e. cannot move canvas cards.

So I believe the problem is not confined to Wayland alone.

we don’t provide support for the flatpak because we don’t make it.

Try appimage.

To be completely clear, generally, we do not have specific code for specific platforms. We get what comes with electron. If you have this type of problem, it may be an electron issue and we do not have the resources to debug it.

I have the same issue on X11 (no wayland) using the AppImage.

@Janlo Kindly open a new bug report. follow the bug report template and post a screen recording of this happening.

There you go: Drag & Arrows not working in canvas (Linux, AppImage, X11)

Install Flatseal which is a graphical utility to review and modify permissions from your Flatpak applications (use console if you’re comfortable).

Set these parameters

XDG_SESSION_TYPE=wayland
OBSIDIAN_USE_WAYLAND=1

The Flatpak install of Obsidian will now work correctly.

Alternatively update your Flatpak Obsidian installation which includes now these parameters as standard.

I found the maintainers of the Flatpak version of Obsidian to be very responsive.

Download and reinstall obsidian from our website, is this still happening?