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

I can't draw or write. #67

Open
nh-3 opened this issue Feb 17, 2019 · 3 comments
Open

I can't draw or write. #67

nh-3 opened this issue Feb 17, 2019 · 3 comments

Comments

@nh-3
Copy link

nh-3 commented Feb 17, 2019

I can't get any stroke. The only thing that I can do is move the pointer on the document but drawing nothing.

Hoodle opens and all the menus work. It's possible to toggle all the tools, even with the digital pen. The "Use Variable Cursor" option works too, so the pointer changes size and color but I'm still getting no stroke at all.

The only way to write something is with the "Text" tool.


--

$ stack exec hoodle

job started
initdevice : corepointername = Virtual core pointer
initdevice : stylusname = stylus
initdevice : erasername = eraser
initdevice : touchname = touch
device = 55611744
Core Pointer
device = 55611920
Core Keyboard
device = 55612448
Wayland Touch Master Pointer
device = 55612800
Master pointer for Wacom HID 4831 Pen
"WidgetConfig =(True,True)"
GtkDrawingArea
reflectCursor: change cursor
reflectCursor : inside act
reflectCursor: change cursor
reflectCursor : inside act
reflectCursor: change cursor
reflectCursor : inside act
reflectCursor: change cursor
reflectCursor : inside act
reflectCursor: change cursor
reflectCursor : inside act
reflectCursor: change cursor
reflectCursor : inside act
reflectCursor: change cursor
reflectCursor : inside act
reflectCursor: change cursor
reflectCursor : inside act
reflectCursor: change cursor
reflectCursor : inside act
reflectCursor: change cursor
reflectCursor : inside act
reflectCursor: change cursor
reflectCursor : inside act
not implemented MenuPenOptions
fromList []
not implemented MenuPenOptions
reflectCursor: change cursor

(hoodle:28603): Gdk-WARNING **: 11:10:14.534: Tried to map a popup with a non-top most parent

(hoodle:28603): Gdk-WARNING **: 11:10:19.197: Tried to map a popup with a non-top most parent

--

OS: Fedora 29 64-bit (Wayland), Gnome Version 3.30.2

Installed by stack (cabal doesn't compile #58)

@nh-3 nh-3 changed the title N I can't draw or write. Feb 17, 2019
@wavewave
Copy link
Owner

Sorry to hear that. I haven't tested hoodle on Wayland env, and I think it's probably not working as X11. Current code for pointer device detection and coordinate read is here: https://github.com/wavewave/hoodle/blob/master/hoodle-core/src/Hoodle/Device.hsc#L78
https://github.com/wavewave/hoodle/blob/master/hoodle-core/csrc/c_initdevice.c#L145
Please let me know if you make any progress.

@nh-3
Copy link
Author

nh-3 commented Feb 19, 2019

Thank you for your answer but I have no idea about programming.

Anyway, I can tell you that I don't have that problem with xournal++. I believe that the files that you link there could be related with this:
https://github.com/xournalpp/xournalpp/tree/master/src/gui/inputdevices from xournal++. I hope that even written in C++ it could be helpful.

I'll take a look but only because I'm curious. I don't have the knowledge needed.

@wavewave
Copy link
Owner

Thanks for the link. That's helpful!

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