Bug 403409 - Cannot switch tabs using keyboard shortcut (Control (Ctrl) + Page Up/Down or Alt+n) in some situations (like when one of the tabs is TweetDeck)
Summary: Cannot switch tabs using keyboard shortcut (Control (Ctrl) + Page Up/Down or ...
Status: CONFIRMED
Alias: None
Product: Falkon
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Slackware All
: NOR normal
Target Milestone: ---
Assignee: David Rosca
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-01-19 18:46 UTC by sombragris
Modified: 2021-05-06 12:52 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sombragris 2019-01-19 18:46:01 UTC
Using:
Slackware64-current, kernel 4.9.16
Frameworks 5.54.0
Plasma-desktop-5.14.5
Applications 18.12.1 
Falkon 3.0.1
Qt 5.11.3
Qt WebKit 5.212.0_alpha2

SUMMARY
In Falkon, one can usually cycle through tabs by using the Ctrl-PgUp / Ctrl-PgDn shortcuts.

However, when a browser window with multiple tabs open adds a TweetDeck tab, it is no longer possible to cycle tabs using the Ctrl-PgUp/PgDwn shortcut. One can cycle through tabs initially, but upon reaching the TweetDeck tab, it is no longer possible to use the shortcut.


STEPS TO REPRODUCE
1. Open a Falkon window with various tabs. 
2. Then add an additional tab with TweetDeck, https://tweetdeck.twitter.com
3. Try to cycle through tabs. Once you reach the TweetDeck tab, the keyboard shortcut is no longer operational

OBSERVED RESULT
The keyboard shortcut is no longer operational.

EXPECTED RESULT
The keyboard shortcut should not be altered by TweetDeck's tab, as is the case with other browsers such as Firefox or Chromium.

SOFTWARE/OS VERSIONS
See above


ADDITIONAL INFORMATION
Comment 1 David Rosca 2019-03-14 10:24:36 UTC
Shortcuts on page takes precedence over most browser shortcuts.
Comment 2 sombragris 2019-03-14 12:10:42 UTC
Yeah David, that's right. The issue here is that other browsers such as Firefox or Chrome somehow manage not to be affected by this and can still enforce a global in-browser Ctrl-PgUp/PgDn shortcut.
Comment 3 Philippe Cloutier 2019-10-23 02:15:29 UTC
I failed to reproduce this on TweetDeck. However, I must report having experienced the same, on this very site. For example:
1. If one goes to https://bugs.kde.org/query.cgi?format=advanced and clicks for example Akonadi in the Product field, Ctrl+Page Up/Down stop working (as long as the field has focus).
2. On this very page, if one clicks "edit" to change the ticket summary, direct access shortcuts (such as Alt+1 to go to the first tab) stop working (as long as the field has focus).

Presumably, this reproduces for all input fields of certain types (at least text and select multiple).
Comment 4 Ritesh Raj Sarraf 2021-05-06 12:52:43 UTC
(In reply to Philippe Cloutier from comment #3)
> I failed to reproduce this on TweetDeck. However, I must report having
> experienced the same, on this very site. For example:
> 1. If one goes to https://bugs.kde.org/query.cgi?format=advanced and clicks
> for example Akonadi in the Product field, Ctrl+Page Up/Down stop working (as
> long as the field has focus).
> 2. On this very page, if one clicks "edit" to change the ticket summary,
> direct access shortcuts (such as Alt+1 to go to the first tab) stop working
> (as long as the field has focus).
> 
> Presumably, this reproduces for all input fields of certain types (at least
> text and select multiple).

I have the same problem for point #2

I was filing the bug report but then saw this as a possible duplicate. So I'll just paste here what I've drafted.


SUMMARY

The keyboard shortcut, about switching tabs with `Alt + Tab Number` do not work when the curson is in the current tab's text input field. Under such circumstances, instead of switching the tab, it instead inputs the corresponding number into the text fie.d

STEPS TO REPRODUCE
1. Open multiple tabs in Falkon
2. Stay in a tab where there is a text input field and your key curson is in the text input filed.
3. Try to switch to another tab with the `Alt + Tab Number` shortcut

OBSERVED RESULT
Does not switch to the requested tab.

EXPECTED RESULT
Should witch to the requested tab.

SOFTWARE/OS VERSIONS
Operating System: Debian GNU/Linux 11
KDE Plasma Version: 5.21.4
KDE Frameworks Version: 5.81.0
Qt Version: 5.15.2
Kernel Version: 5.10.0-6-amd64
OS Type: 64-bit
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-8550U CPU @ 1.80GHz
Memory: 15.4 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 620