Gesturefy icon indicating copy to clipboard operation
Gesturefy copied to clipboard

Add Popup actions (Tab History, Session History, Searches, Tabs..)

Open Reylak opened this issue 7 years ago • 23 comments

As a lot of people I think, I was forced to leave FireGestures behind, and I was happy to discover your addon was there!

Is it possible for rocker gestures to display a menu list in which we can scroll using the mouse wheel? If so, and similar to #91, I'd love to see my current tab's history and scroll through it in such a menu.

I read from you that you are limited by the API on this topic for now, so let's keep this issue as a reminder :)

Reylak avatar Nov 16 '17 08:11 Reylak

Is it possible for rocker gestures to display a menu list in which we can scroll using the mouse wheel?

If I remember correctly this was named "popup gesture" in Firegestures, right?

I read from you that you are limited by the API on this topic for now,

Yeah, currently it's really hard to get the history of a tab (I would have to track all the tabs by myself)

Robbendebiene avatar Nov 16 '17 10:11 Robbendebiene

Yes, I believe it was popup gestures.

Reylak avatar Nov 16 '17 10:11 Reylak

Because I can not use the normal contextmenu like Firegesture did I'll have to implement the popup menu by my self, wherefore you shoudln't expect this feature in the nearby future. But I like the idea and also made an implementation concept for this a while ago.

Robbendebiene avatar Nov 17 '17 23:11 Robbendebiene

great! this would also be neat to have... of course, no pressure ;)

nachoparker avatar Nov 17 '17 23:11 nachoparker

Glad to hear that you are not rejecting this feature, as a FireGestures refugee I find this addon a great replacement aside from this. :)

NLZ avatar Nov 20 '17 16:11 NLZ

I know a lot of you just want the little context menu back from Firegestures. But since I have to implement the interface/menu by myself, I want to encourage you to think of other possible ways to display the list of items. :)

To give some examples:

  1. Open some kind of sidebar which contains the list of items, this sidebar could even cotain a little search at the top or bottom.
  2. Only open a search field, which appears in the middle of the screen, which could work similar to firefox awesomebar (So you basicly would search through the item list)
  3. Show a normal list, but divide it into columns if it would not fit into the screen length (this is obviously only usefull for a large item list)

I'm also open for any pros/cons of different ideas :)

Robbendebiene avatar Nov 21 '17 19:11 Robbendebiene

Btw, what happened in Firegestures when the popup list was too long to be displayed on the screen? Was there a scrollbar in the popup menu?

Robbendebiene avatar Nov 23 '17 18:11 Robbendebiene

The point of it was that it was really quick to access, right under your mouse. I'm not sure if the popup had scrollbar, but it was scrollable with mouse wheel. Maybe the first/last element was an arrow?

NLZ avatar Nov 23 '17 18:11 NLZ

@NLZ Or maybe it looked like the menu, which pops up when you click the arrow next to your tab bar? This is also scrollable but does not contain a scrollbar.

Robbendebiene avatar Nov 23 '17 21:11 Robbendebiene

@Robbendebiene the way FireGestures managed its popup actions, and which I loved, was that:

  • you pressed and held right mouse button (button was configurable I believe)
  • you scrolled at least once upward or downward
  • depending on the direction of the scroll (was configurable):
    • the history of the current tab was displayed
    • the list of currently open tabs was displayed
  • now (while still maintaining mouse button!) scrolling in whichever direction would scroll through the popup list
  • releasing the mouse button activated the highlighted entry (go back -- or go forward -- to page in history, or jump to open tab) and closes the popup list

About what happened when the list was too long, and went beyond the bottom screen edge, I believe it would simply slide the list upward when you reached the last visible entry. I'd even guess that wasn't managed by FireGestures itself, but rather by Firefox / its API / the OS's API. At any rate, no scroll bar was displayed. This behaved just as when you open a very long contextual menu in your OS, that sticks out of the screen.

Oh, and we were wrong: FireGestures actually called this "wheel gestures", although the associated action would mention "[Popup]" in its name, such as "[Popup] Back / Forward history" (I just checked the website and its screenshots).

Reylak avatar Nov 24 '17 07:11 Reylak

well, you could do it with 'wheel gestures' (hold a button and do wheel), or with 'rock gestures' (left-right or right-left). The popup was exactly like clicking the 'tab list' button on the upper right corner: no scroll bar, but scrollable if there's too many entries there's an indicator at the top/bottom that you can scroll, just like any menu like bookmarks and so on

nachoparker avatar Nov 24 '17 08:11 nachoparker

@Reylak Wheel gestures are already available (with the same limitations as mouse gestures)

I'll try to implement something similar like the context menu/tab list menu. Thanks for the information @Reylak @nachoparker

Robbendebiene avatar Nov 24 '17 13:11 Robbendebiene

Currently I wont be able to implement popup gestures that show the history of the current tab or lists the users search engines. What else can/should be displayed in the popup?

Robbendebiene avatar Dec 02 '17 22:12 Robbendebiene

I liked to use: current open tabs, recently closed tabs

Can't remember other possibilities right now

thanks!

nachoparker avatar Dec 03 '17 00:12 nachoparker

I heavily used the recently closed tabs in Firegestures

svenschn avatar Dec 03 '17 08:12 svenschn

Recently closed tabs and currently open tabs for me as well.

cy7yz2rj avatar Dec 03 '17 13:12 cy7yz2rj

GREAT JOB!!!

I you did such a good job, now I can right click gesture on Linux, and also I have my beloved popups for recently closed tabs and current tabs.

Thank you

nachoparker avatar Feb 14 '18 10:02 nachoparker

Is the current tab history popup still impossible to do?

RheingoldRiver avatar Jul 01 '18 18:07 RheingoldRiver

@RheingoldRiver Yes and since the Mozilla devs have set the priority to 5, I wouldn't expect this to be implemented very soon.

Robbendebiene avatar Jul 01 '18 19:07 Robbendebiene

Still restrictions from Mozilla for current tab history popup?

Andei avatar May 15 '20 13:05 Andei

@Andei Yes, still no API available (one related bugzilla ticket: https://bugzilla.mozilla.org/show_bug.cgi?id=1378651)

Robbendebiene avatar May 15 '20 17:05 Robbendebiene

Is editing the search engine popup still off the table? Where does it get the current list of search engines? I don't really need it to look up my browser search engines, just the ability to add one manually, like YouTube.

Err0rFlynnn avatar Aug 09 '21 17:08 Err0rFlynnn

@Err0rFlynnn The popup displays all of your Firefox search engines similar to the address bar. You can find your added search engines here: about:preferences#search. You can also easily add further search engines like youtube to Firefox (more info on how to do this can be found here)

Providing a custom list of search engines inside Gesturefy would require an extra UI which would require a lot of work.

Robbendebiene avatar Aug 09 '21 17:08 Robbendebiene