Opened 5 years ago

Last modified 4 years ago

#11060 new enhancement

Add new keyboard navigation combos to Web+

Reported by: DaaT Owned by: pulkomandy
Priority: normal Milestone: Unscheduled
Component: Applications/WebPositive Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All



Don't know how easy or not this is to implement, but would be nice if we could move to the next tab using Alt+PgDown (or previous tab using Atl+PgUp).


Change History (7)

comment:1 Changed 5 years ago by jscipione

What is wrong with Alt+[1-9] to switch between the 1st through 9th tab? I don't like this idea, give me a reason that these shortcuts should be added.

comment:2 Changed 5 years ago by humdinger

I do see the reason for this spacial switching, esp. if you have a bunch of tab open and would like to switch the one three to right of the active tab. You'd have to count at what tab number you're on and add two. Some people also like to have more than 9 tabs open (which is of course insane to every reasonable person.. :) )
Anyway, we have this functionality with Terminal's "internal" tabs via SHIFT+Cursor. And Stack&Tile uses OPT+Cursor. Switching workspaces spacially is done with CMD+CTRL+Cursor.
For consistency, the Terminal shortcuts could be adopted for Web+.

comment:3 Changed 5 years ago by jscipione

Cmd+[1-9] make it very easy to switch directly to the tab you want, with Cmd+[PgUp|PgDn] you'd have to click the button potentially many times to get to the desired tab. Either way is imperfect, the fallback is of course to click the tab you want with the mouse and is what most people are going to do anyway.

As far as use of shortcuts elsewhere we use Cmd+Ctrl+Cursor to switch workspaces because Cmd is reserved for application use, same with using Opt+cursor for S&T.

In WebPositive Cmd+[left|right] is used to navigate back and forwards in history. There was some discussion about changing that to Ctrl+[left|right] but unfortunately all application shortcuts in Haiku must include the Cmd key so that is not an option. Cmd+[PgUp|PgDn] could be used for switching between the next and previous tab, but I wouldn't expect the feature to be used much since the user is unlikely to think of that on their own.

We've created a bit of a mess for ourselves here already so we should tread carefully. Is Cmd+[PgUp|PgDn] a good set of shortcuts to use? I'd say no, but the good alternatives are already taken. If you really want to solve the problem, that is the problem that must be solved, this seems like it is just another band-aid on top.

comment:4 Changed 5 years ago by humdinger

-> Terminal

comment:5 Changed 5 years ago by jscipione

What about Cmd+Tab for next tab, Cmd+Shift+Tab for previous tab?

It makes mnemonic sense because it correlates the tab key with Window tab and it's a lot easier to perform than Cmd+[PgUp|PgDn] which is a 2-handed operation on most keyboards.

comment:6 Changed 5 years ago by DaaT

I logged the ticket because I was unaware of the Cmd+[1-9] shortcut, apologies for that. But it started an interesting discussion, I wonder where it leads :)

comment:7 Changed 4 years ago by luroh

Milestone: R1Unscheduled

Moving Web+ enhancements out of R1 milestone.

Note: See TracTickets for help on using tickets.