Giter Club home page Giter Club logo

Comments (5)

maoschanz avatar maoschanz commented on July 19, 2024

You began a click on the note, moved the pointer, and released the click outside of the note before the note followed the pointer, so the note didn't get the release signal. It's still waiting for your click release, and will continue to follow the cursor movement until it gets a release signal.

Edit: I label it "enhancement" because the current behavior is what i expect. A better design might be possible, but here there is no bug it's acting like it should.

from notes-extension-gnome.

der-ali avatar der-ali commented on July 19, 2024

I understand, but the problem is when you move the courser a little bit fast, the courser slides out of the note and i need to go back and drag the note again. I think you should fix the note to the mouse-courser as in the folder example
Peek 2019-08-15 17-04

from notes-extension-gnome.

maoschanz avatar maoschanz commented on July 19, 2024

But the folder is managed by the desktop extension, which uses the whole screen (in the background). If i use the whole screen for the notes, it wouldn't be possible to interact with the windows/desktop underneath when the notes are visible

from notes-extension-gnome.

maoschanz avatar maoschanz commented on July 19, 2024
  • if the note is waiting for motion signals, after [some time, like 300ms] without any signal, move the note to the position of the cursor
  • same for resize
  • once moved, if the click is actually released, act like if it had been released on the button
  • same for resize

downside: using mainloop timeouts is highly discouraged by the (outdated?) blog post explaining how to get the extension approved

from notes-extension-gnome.

dimdin avatar dimdin commented on July 19, 2024

I just discovered this helpful extension and that issue appeared.
Please consider grabbing the pointer using Gdk.Seat.grab() while moving or resizing notes.

from notes-extension-gnome.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.