Coder Social home page Coder Social logo

Comments (5)

harshadgavali avatar harshadgavali commented on July 29, 2024

I had tried to add #30, but i couldn't figure out how to animate maximized window moving to difference workspace.
I had tried by animating panel so it gives feedback that gesture is in progress .

but it has issue with dash-to-panel on multiple monitors.
so this might not end up happening.

from gnome-gesture-improvements.

andrewaclear avatar andrewaclear commented on July 29, 2024

You don't need the maximize animation nor a panel animation while moving a window to another desktop. It's just sliding to the next desktop (as normal) while holding the current window in place.

A possible way to implement this could even be to temporarily make the window "sticky" (pinned to all desktops) while doing the gesture. It could be done like this:

  • Shift is pressed
  • four-finger sideways swipe starts -> activate move window to another desktop
  • run wmctrl -r :ACTIVE: -b add,sticky
  • gesture is finished, Shift is released
  • run wmctrl -r :ACTIVE: -b remove,sticky

from gnome-gesture-improvements.

harshadgavali avatar harshadgavali commented on July 29, 2024

You don't need the maximize animation nor a panel animation while moving a window to another desktop. It's just sliding to the next desktop (as normal) while holding the current window in place.

The issue is if window is maximized so only window and panel is visible and gesture is started on that window, animation of window moving is not visible at all cause we only see window and panel.
So we can't know when gesture starts or when gesture ends.

For example try moving maximized window with keyboard shortcut, only indication that something happened is workspace-switcher popup window (which won't be shown for gesture animation)

from gnome-gesture-improvements.

harshadgavali avatar harshadgavali commented on July 29, 2024

I might try by showing popup window and animating it instead of panel

from gnome-gesture-improvements.

andrewaclear avatar andrewaclear commented on July 29, 2024

Oh I see what you are saying, that's true. Maybe just add the popup when the window is maximized. I wouldn't think it would be better to just do the popup though, for the gesture is so much better when it is not maximized.

from gnome-gesture-improvements.

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.