question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Tab switcher doesn't work in certain case

See original GitHub issue

Description

When user opens a couple of files by drag&drop them to a running CudaText window without any other file opened, tab switcher only starts to work after at least one manual tab switch by mouse.

Steps to reproduce

  1. Open CudaText.
  2. If program option ui_reopen_session is set to true, close all open files. Set option ui_tab_switcher_dialog to false. Close CudaText.
  3. Open CudaText. Now it should start with no files opened, only a tab named Untitled1 should be open.
  4. Select a couple of files (i.e. more than 1) in OS file manager and drag&drop them to the window of the running CudaText instance.
  5. The files will be loaded into tabs. The rightmost tab is the active one.

Expected behaviour

When pressing CTRL+TAB the active tab should be switched to the first/leftmost tab. When pressing CTRL+SHIFT+TAB the active tab should be switched to the tab left of the rightmost one.

Actual behaviour

Nothing happens, neither when pressing CTRL+TAB nor when pressing CTRL+SHIFT+TAB. The reason is that the CudaText window hasn’t got the input focus when drag&drop the files.

Desired behaviour

When drag&drop files from OS file manager to a CudaText window this window should get the input focus in order to make tab switcher start working immediatly.

Applies to

CudaText v1.83.0.0, tested with 64 bit version.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
Alexey-Tcommented, Jun 16, 2019

I agree now, to fix…

1reaction
Alexey-Tcommented, Jun 16, 2019

Check that on pressing keys, Cud is focused.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Fix Alt+Tab Not Working (Switch Between ... - YouTube
Switch Between Programs Windows not working in windows 10/8/7#Windows Facebook Page : https://www.facebook.com/MeMJTubeFollow on twitter: ...
Read more >
Alt Tab Not Working? 13 Ways to Fix - Help Desk Geek
Alt Tab Not Working? 13 Ways to Fix · 1. Restart Windows Explorer · 2. Reboot the Computer · 3. Uninstall/Reinstall Keyboard Device...
Read more >
Command + Tab does not work consistently on MacOS
On my Mac, Using Command + Tab to switch windows seems to work only sometime.
Read more >
CMD+Tab and multiple spaces - not working properly
The command tab will not open an app, it simply switches between apps, regardless of what space they are in. It is possible...
Read more >
How to Fix the Alt-Tab Keyboard Shortcut Not Working on ...
Ensure that your keyboard is connected correctly to your PC, then check if all the other keys are working.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found