Bug 406836 - Support standard tab switching shortcuts to change tabs
Summary: Support standard tab switching shortcuts to change tabs
Status: RESOLVED FIXED
Alias: None
Product: kile
Classification: Applications
Component: user interface (show other bugs)
Version: 2.9.92
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Michel Ludwig
URL:
Keywords:
: 429832 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-04-24 08:56 UTC by Raphaël Jakse
Modified: 2021-12-28 03:48 UTC (History)
1 user (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 Raphaël Jakse 2019-04-24 08:56:57 UTC
Hello,

Ctrl+tab adds a tab in the editor. In many applications such as Kate and browsers, Ctrl+tab switches tabs.

It would be nice if Kile supported this shortcut, with the same behavior as Kate of Firefox when setting browser.ctrlTab.previews is true. I often go back and forth between files and doing this in Kile is a bit slow.

I'm using Kile 3 beta.
Comment 1 Nate Graham 2019-07-15 17:44:40 UTC
Ctrl+pgup/pgdn, too.
Comment 2 Nate Graham 2020-11-29 23:39:36 UTC
*** Bug 429832 has been marked as a duplicate of this bug. ***
Comment 3 Nate Graham 2020-11-29 23:40:30 UTC
The standard KDE shortcuts are defined in KStandardShortcut::TabNext() and ::TabPrevious().

Ctrl+Tab and Ctrl+Shift+Tab are also often used, though these are not formally standardized. Wouldn't hurt to support them too.
Comment 4 Bug Janitor Service 2021-12-21 18:55:06 UTC
A possibly relevant merge request was started @ https://invent.kde.org/office/kile/-/merge_requests/5
Comment 5 Nate Graham 2021-12-28 03:48:58 UTC
Git commit b2853a4ab42a40bc8579eadabf05a1bcf8bd96e0 by Nate Graham.
Committed on 28/12/2021 at 03:48.
Pushed by ngraham into branch 'master'.

Also support standard tab switching shortcuts

Kile currently uses Alt+Left/right for tab switching, which is
nonstandard. This commit also adds support for the standard shortcuts,
while also preserving the existing ones for backwards compatibility for
those who are already accustomed to them.

M  +31   -4    src/kile.cpp
M  +3    -0    src/kile.h

https://invent.kde.org/office/kile/commit/b2853a4ab42a40bc8579eadabf05a1bcf8bd96e0