[2.6] tldraw and graphic tablet (bad) experience

274 views
Skip to first unread message

Vasyl Ostrovskyi

unread,
Jan 12, 2023, 7:01:13 AM1/12/23
to BigBlueButton-Setup
One of major new features of 2.6 is using tldraw for whiteboard. However, I noficed some problems using it in BBB with graphic tablet.

Testing setup: modern laptops with 16G ram and i5 or i7 cpu, Huion RTM-500 graphic tablet, Windows 11 and Ubuntu 22.04, latest Chrome and Firefox.

In any combination of laptop/os/browser, the original tldraw.com site works properly (thus, I exclude hardware of system misconfiguration bugs). Other graphic applications, including current BBB without tldraw, work properly, too.

Preliminary testing results.
1. Windows 11/Crome (or Edge). Select pencil tool, and after firs stroke, the pointer disappears, and cannot see where the next drawing will start. Moving pen behind the drawing area makes it visible until next stroke.
2. Windows 11/Firefox. Select pencil tool, the drawing is very slow, so that some parts are skipped. E.g., to have readable text, I need to write very slowly, otherwice some letters are written incompletely or distorted.
3. Ubuntu 22.4 (other versions, too)/Chrome or Chrome-based browser like Chromium, Brave etc. Select pencil tool, after drawing several strokes something triggers, and instead of drawing, pen drags underlying background, or fill with ink while board is untouched (see https://github.com/bigbluebutton/bigbluebutton/issues/16029 for video), other tools also start working unstable.
4. Ubuntu 22.04/Firefox. No issues with pencil tool observed.

All these issues happen systematically, so, for me, the only usable setup is Ubuntu/Firefox.

With mouse or touchpad, I cannot observe these issues, so they are graphic tablet.specific

Can anybody reproduce and confirm these?

Regards,
 Vasyl

KDSBrowne

unread,
Jan 13, 2023, 12:22:35 PM1/13/23
to BigBlueButton-Setup
Hey Vasyl,

Thanks for all the testing. I think some off the issues in you noticed may have been addressed in some part by open PR's.

#3 : This may have been fixed by  fix(tldraw): cannot select multiple objects  but will need testing to confirm.
#1 : The cursor issue also has a recent update  fix(tldraw): show tool cursors. However a few Icons still need to be added.

As for

#2 : The source of this issue is due to one of the useEffect hooks in the whiteboard component not having a dependency array causing it to run on every re-render.
Expect this to be resolve soon in a future update.

Regards
Kert

Vasyl Ostrovskyi

unread,
Jan 15, 2023, 7:25:58 AM1/15/23
to BigBlueButton-Setup
Hello, Kert,

Thanks for your reply.

I updated bbb to the latest 2.6-dev build 2.6.0-beta.6 (720), client build: 309.

#3 is still there. Also, with Ubuntu/Crome after some futher research I noticed the following issue which may be or may not be related to the previous one. 

In the tablet, I disabled the pen nib, and configured pen buttons to work as left/right mouse buttons. Theoretically, after this, my tablet should work as ordinary mouse: pen only moves the cursor, and pressing buttons is equivalent to mouse button events (while I cannot imagine that anyone  will use a graphic table this way). In Firefox/tldraw, and Chrome/BBB2.4 it does work. However, in Chrome/BBB2.6 with such configuration, I cannot draw anything: pressing the pen button configured for left mouse produces only one dot instead of a stroke.
Moreover, this issue is present in the original tldraw.com site, but is fixed in beta.tldraw.com, so this is not BBB specific. Not sure this is useful, but anyway...

Regards,
 Vasyl

пʼятниця, 13 січня 2023 р. о 19:22:35 UTC+2 KDSBrowne пише:
Reply all
Reply to author
Forward
0 new messages