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

Swipe on touch screen to switch pages #128

Closed
cassidyjames opened this issue Sep 13, 2018 · 8 comments · Fixed by #360
Closed

Swipe on touch screen to switch pages #128

cassidyjames opened this issue Sep 13, 2018 · 8 comments · Fixed by #360
Labels
Priority: Wishlist Not a priority, but something that might be nice Status: Confirmed Verified by someone other than the reporter

Comments

@cassidyjames
Copy link
Contributor

cassidyjames commented Sep 13, 2018

From @alex285 on January 14, 2018 19:54

even if i use elementary a lot, every time i open the appLauncher i'm trying to switch to next/previous page by holding down mouse and pushing on right/left

is it possible to add some gestures onWingpanel appLauncher, since it feels a natural way to navigate?

wingpanel-bug-1


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@cassidyjames
Copy link
Contributor Author

Right now you can sideways scroll on a trackpad, or use the mouse wheel on a normal mouse. I'm not sure what you're asking.

Do you mean switch pages by clicking down, moving the mouse, and then releasing? If so, that's extremely inconsistent with all of GTK and elementary OS and would require weird special casing. It would also likely conflict with the existing drag-and-drop of app icons. It should already work properly on a touch screen (if not, that's a separate bug), but nothing in elementary OS operates that way with a mouse cursor.

@cassidyjames cassidyjames added the Status: Incomplete Needs more information before we can take action label Sep 13, 2018
@cassidyjames
Copy link
Contributor Author

Also, this repo is for the panel itself. For the app launcher, see elementary/applications-menu.

@cassidyjames
Copy link
Contributor Author

From @alex285 on January 14, 2018 20:48

@cassidyjames

Do you mean switch pages by clicking down, moving the mouse, and then releasing?

yes

that's extremely inconsistent with all of GTK

i cant remember some GTK app doing that, however that's working on GNOME Shell appOverview (with St). i believe it is a very natural and expected behavior the way elementary application menu is made/designed

Also, this repo is for the panel itself.

Sorry about that!

@cassidyjames
Copy link
Contributor Author

cassidyjames commented Sep 13, 2018

I'm going to say no, using a mouse in this way doesn't make sense with the rest of the design of GTK and elementary OS. However! It could make sense on a touch display, as right now on touch dragging the page just tries to drag icons out of the menu. So I'll rename this accordingly.

@cassidyjames cassidyjames changed the title Mouse gestures for switching pages Swipe on touch screen to switch pages Sep 13, 2018
@cassidyjames cassidyjames added Priority: Wishlist Not a priority, but something that might be nice Status: Confirmed Verified by someone other than the reporter and removed Status: Incomplete Needs more information before we can take action labels Sep 13, 2018
@cassidyjames cassidyjames added this to To do in Touch via automation Sep 13, 2018
@zvirdaniel
Copy link
Contributor

zvirdaniel commented Oct 12, 2018

I'm going to say no, using a mouse in this way doesn't make sense with the rest of the design of GTK and elementary OS. However! It could make sense on a touch display, as right now on touch dragging the page just tries to drag icons out of the menu. So I'll rename this accordingly.

That is also one of the biggest issues when it comes to using elementary witch a touchscreen. How exactly are users supposed to switch pages with a touchscreen, if this does not get impemented before Juno comes out? I just learned not to use the app menu (with my touchscreen). But keep in mind that new users, using new laptops with touchscreens, will consider this as a bug.

@cassidyjames
Copy link
Contributor Author

@zvirdaniel I agree, which is why this issue is marked as confirmed. Since elementary OS does not primarily target touch, it's not the highest priority. However, it is confirmed which means we recognize the issue and plan to resolve it when we have the time. Or someone can come along and offer a fix. 😉

@peteruithoven
Copy link
Collaborator

How exactly are users supposed to switch pages with a touchscreen, if this does not get impemented before Juno comes out?

Not ideal, but you can click the paging dots at the bottom.

@jdmg94
Copy link

jdmg94 commented Jun 11, 2019

It's good to know I'm not the only one thinking about this. I'm trying to implement GtkGestureSwipe on the panel's event_box. I've properly added the touch mask to the event_box and subscribed to the touch signal, however, I'm still unable to determine the swipe direction and there is little to no documentation about it. The linked doc mentions that the velocity and direction are passed but the direction doesn't seem to be there unless the velocity values work as cartesian coordinate which would be weird but not out of the realm of possibility. Any help is appreciated, I'm using vscode so debugging has been an issue as well, I didn't knew vala last week so the tooling is new to me

@danirabbit danirabbit added this to To do in Multi-touch Gestures via automation Nov 20, 2019
Multi-touch Gestures automation moved this from To do to Done Apr 22, 2020
@cassidyjames cassidyjames moved this from To do to Done in Touch Dec 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: Wishlist Not a priority, but something that might be nice Status: Confirmed Verified by someone other than the reporter
Projects
Touch
  
Done
4 participants