Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Whiteboard: unintended copy functionality #12749

Closed
maymage opened this issue Jan 9, 2023 · 8 comments
Closed

Whiteboard: unintended copy functionality #12749

maymage opened this issue Jan 9, 2023 · 8 comments

Comments

@maymage
Copy link

maymage commented Jan 9, 2023

Hi all,

I'm using a One by Wacom graphical tablet with a two button pen on a standard GNOME installation.

The following situation as appearing in the below video is reproducible as follows:

  • Copy some text to your clipboard Ctrl+C
  • Open Jitsi's whiteboard
  • Select the pen drawer and start to draw
  • During drawing, press the lower button and release it
  • End the drawing by lifting the pen

This sequence of actions inserts the before copied text. It's been happening to me
many, many times involuntarily.

Bildschirmaufzeichnung.vom.2023-01-09.13-39-14.webm

If Jitsi wishes to support pen buttons, it should in my opinion probably point at most one button to the eraser,
but due to a lack of configurability and the many existing, different drawing tablets, that should be it for the sake of
usability.

@saghul
Copy link
Member

saghul commented Jan 9, 2023

Can you reproduce this Jen using Excalidraw directly at excalidraw.com ?

@maymage
Copy link
Author

maymage commented Jan 10, 2023

No, this is not reproducible on Excalidraw, see the video below, where I perform the same actions as above.

Bildschirmaufzeichnung.vom.2023-01-10.10-36-07.webm

@saghul
Copy link
Member

saghul commented Jan 10, 2023

Hum, that is really odd. We haven't added any extra input handling for pen buttons, let alone make one act as paste. Not sure where this comes from TBH.

@maymage
Copy link
Author

maymage commented Jan 10, 2023

Okay.. I was suspicious, because I remembered some c&p logics discussions from a wayland channel. Anyway..

  • Not reproducible on Excalidraw + Firefox on Wayland or Xorg
  • Not reproducible on Excalidraw + Chromium on Xorg
  • Reproducible on Excalidraw + Chromium on Wayland

All apps run unmodified from Flathub.

@saghul
Copy link
Member

saghul commented Jan 12, 2023

In that case there is nothing we can do.

@maymage
Copy link
Author

maymage commented Jan 12, 2023

Apart from bringing the issue up upstream, I suppose.

Excalidraw, Electron, Chromium, Gnome? What do you think?

@saghul
Copy link
Member

saghul commented Jan 12, 2023

Great question :-)

What happens on Firefox on Wayland? If it works I'd say Chrome, otherwise it could be GNOME, you could also try to reproduce it with a different desktop environment.

I'm closing this, but feel free to comment on your further finds for reference.

@saghul saghul closed this as completed Jan 12, 2023
@maymage
Copy link
Author

maymage commented Jan 13, 2023

Filed against Chromium

https://bugs.chromium.org/p/chromium/issues/detail?id=1407093

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants