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

Drag & drop of pictures for quick upload is super frustratring #95

Open
axelsimon opened this issue Nov 3, 2018 · 2 comments
Open

Drag & drop of pictures for quick upload is super frustratring #95

axelsimon opened this issue Nov 3, 2018 · 2 comments

Comments

@axelsimon
Copy link

Hi,
When dragging a picture from Nautilus, Cheese (webcam photobooth) etc. to Revolt, the cursor turns from a mouse to a green + sign, but in completely unpredictable ways and in very small parts of the Revolt interface. This means unless you happen to land on a "green +" area by luck, you are left with trying to move your mouse bit by bit until you land on an area where Revolt will let you upload the pic.

More often than not, that's a waste of time, and you're better off just using the normal "upload file" button in the Riot interface.

May or may not be related to #26.

@aperezdc
Copy link
Owner

aperezdc commented Nov 4, 2018

I have noticed this myself, and it happens with WebKitGTK+ based browsers as well (like Epiphany / GNOME Web). It needs investigating, my suspicion is that either WebKitGTK+ is not handling something 100% correctly when it comes to drag-and-drop targets, and if one looks at what seems to constitute a valid target, for example the horizontal lines which separate days are “easier” to hit as drop target, which makes me think that there is something fishy going on with elements that have transparent backgrounds (or no background set).

@aperezdc
Copy link
Owner

aperezdc commented Nov 4, 2018

Interestingly enough, drag-and-drop of images into the GitHub comment composition box works flawlessly. It may be worth it to check out how its handling of the drop area is different from Riot's.

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

No branches or pull requests

2 participants