Community-edition: Keyboard shortcuts to cycle through service tabs doesn't work

Created on 15 Mar 2019  路  25Comments  路  Source: ramboxapp/community-edition

Steps to reproduce

  1. Update to 0.6.4
  2. Have multiple service tabs running (I have Whatsapp, Skype, Mattermost, Messenger)
  3. Focus in one of them while using it.
  4. Hit CTRL+TAB or CTRL+PGUP/PGDN to cycle through them

Expected behavior

Tab switches to the next one on the right like it did in previous versions.

Actual behavior

Nothing happens.
If you mouse click on the Service tab header itself (eg the "Whatsapp" icon and text) and then hit CTRL+TAB or CTRL+PGUP it works just once. You then need to mouse click on the current Service tab header again before CRTL+TAB or CTRL+PGUP to switch to the next one.

Looks like this functionality was introduced in #75. I've been using it for many versions.

ENVIRONMENT

Rambox 0.6.4
Electron 3.1.4
win32 x64 10.0.17134

bug

Most helpful comment

Not working on macOS either.

All 25 comments

Thanks for opening your first issue here! Be sure to follow the issue template!

Same here !
Version: 0.6.4
Plateforme: win32 (x64)
Electron: 3.1.4
Chromium: 66.0.3359.181
Node: 10.2.0
Windows 10

I'm getting the same thing. I also notice that Ctrl+[num] shortcuts no longer work either.

Version: 0.6.4
Platform: win32 (x64)
Electron: 3.1.4
Chromium: 66.0.3359.181
Node: 10.2.0

Can confirm
Version: 0.6.4
Platform: linux
Electron: 3.1.4
Chromium: 66.0.3359.181
Node: 10.2.0

Not working on macOS either.

Can confirm on Windows 10
Version: 0.6.4
Platform: win32 (x64)
Electron: 3.1.4
Chromium: 66.0.3359.181
Node: 10.2.0

Same here
ubuntu 18.04

might revert until this is fixed. i slam that shortcut all day =/

Same here:

Version: 0.6.4
Platform: linux (x64)
Electron: 3.1.4
Chromium: 66.0.3359.181
Node: 10.2.0

Since chromium's architecture has been reworked, events are not propaged globally anymore. Rambox was using this hack to handle CTRL+TAB, but with the new electron version, it's not working anymore.
A workaround is to handle the events fired by webview.
Fixed in #2138

+1 really a pain when you are using multiple services... which is the main purpose of Rambox.. :/

+1 (macOS)

I neee some reviewers for the push request ^^, feel free to review it

I tested the PR. Ctrl+number works fine. Ctrl+PgUp or Ctrl+PgDown doesn't work reliably; it seems it gets captured by the webview.

@maxerbox I tried to build Rambox from source to but failed with some cryptic Sencha error that I was unable to fix. If you can please provide a win64 build I'll test it gladly.

I tested the PR. Ctrl+number works fine. Ctrl+PgUp or Ctrl+PgDown doesn't work reliably; it seems it gets captured by the webview.

any idea if it fixes ctrl+tab / ctrl+shift+tab ?

Ctrl+Tab / Ctrl+Shift+Tab works, but I just noticed that all working shortcuts only work after you click on a tab, any tab. Then the shortcuts work.

It looks like the keyboard focus is on the webview when you start Rambox. Only after clicking on a tab that the shortcuts start to work normally.

@lasombra it doesn't work as expected, It only switch one tab, and then... nothing happens

Note: If you're on the Rambox welcome tab, CTRL+PageDown works if you clicked on the tab title. Then, after the first switch, nothing happens on that shortcut. It seems that the webview is capturing the keyboard.

@metal3d @lasombra
Fixed pageup-pagedown-zoomin-zoomout issue

@maxerbox Good stuff! To me, the remaining problem is the initial usage of the shortcut requiring a click on any tab to work.

Wdym ? You need to focus rambox window to make it working anyway.
It seems working even from the Rambox tab (where you add services)

Ah, never mind @maxerbox, sorry for the confusion. The problem is that the dev tools, which open side by side to the webview, has the initial focus.

@maxerbox I'm impatient to use the next release so :)

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

MakuSensei picture MakuSensei  路  4Comments

jamy015 picture jamy015  路  4Comments

Izin picture Izin  路  3Comments

mforcer picture mforcer  路  3Comments

SimJoSt picture SimJoSt  路  4Comments