Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Focus is lost when changing tabs #15288

Open
MarathonMax opened this issue May 2, 2024 · 12 comments · May be fixed by #15449
Open

Bug: Focus is lost when changing tabs #15288

MarathonMax opened this issue May 2, 2024 · 12 comments · May be fixed by #15449
Labels
bug Something isn't working 👀 good first issue Good issue for new contributors to get started with

Comments

@MarathonMax
Copy link

MarathonMax commented May 2, 2024

Description

I use the keyboard all the time. I like to use the down arrow to, well, move down a file/folder list. I also use the ctrl-tab/shift-ctrl-tab to move between opened tabs. When doing so and when getting back to a tab where I was down a list, the "cursor" position is not maintained; further more, I cannot use the down arrow to move down unless I use the mouse to click where I want to be.

Steps To Reproduce

  1. Open two tabs
  2. Move cursor to the center of the app window
  3. Used ctrl + tab to switch to the second tab & ctrl + shift + tab to move back to the first tab
  4. The cursor position moved

Requirements

Keep cursor in the same position

Files Version

3.1

Windows Version

W11 23H2

Log File

debug.log

@MarathonMax MarathonMax added the bug Something isn't working 👀 label May 2, 2024
@yaira2
Copy link
Member

yaira2 commented May 2, 2024

I'm having trouble reproducing this issue, this is what I tried

  1. Opened two tabs
  2. Moved cursor to the center of the app window
  3. Used ctrl + tab to switch to the second tab & ctrl + shift + tab to move back to the first tab
  4. The cursor position is still in the center

@yaira2 yaira2 added needs-additional info Needs more information from the reporter needs-reproducing Issues unable to be reproduced by the dev team labels May 2, 2024
@Josh65-2201
Copy link
Member

It might be from them being on 3.1. Can you also see if this is an issue in the preview version. https://files.community/download

@MarathonMax
Copy link
Author

MarathonMax commented May 3, 2024 via email

@yaira2
Copy link
Member

yaira2 commented May 3, 2024

I'm having a hard time following that, can you confirm if the repro steps I followed are correct?

@MarathonMax
Copy link
Author

MarathonMax commented May 3, 2024 via email

@yaira2
Copy link
Member

yaira2 commented May 5, 2024

@MarathonMax I watched the video, but it seems like the cursor position stays the same when your switching tabs.

It's possible I misunderstood what the issue is, so further clarification would be appreciated. It looks like we're both following the same steps, but it'll help if you can confirm either way.

  1. Opened two tabs
  2. Moved cursor to the center of the app window
  3. Used ctrl + tab to switch to the second tab & ctrl + shift + tab to move back to the first tab
  4. The cursor position is still in the center

@MarathonMax
Copy link
Author

MarathonMax commented May 5, 2024 via email

@yaira2
Copy link
Member

yaira2 commented May 6, 2024

@Josh65-2201 are you able to repro this issue?

@yaira2 yaira2 changed the title Cursor position lost when changing tabs Bug: Cursor position lost when changing tabs May 6, 2024
@Josh65-2201
Copy link
Member

Josh65-2201 commented May 6, 2024

Yes, It's not the actual cursor moving but the tab selection moves to the tabs bar rather than the select file in that tab and stops triggering file navigation when using the arrow keys.

@yaira2
Copy link
Member

yaira2 commented May 6, 2024

I see, I can't reproduce the focus issue either but at least that points us in the right direction.

@yaira2 yaira2 removed the needs-reproducing Issues unable to be reproduced by the dev team label May 6, 2024
@yaira2 yaira2 changed the title Bug: Cursor position lost when changing tabs Bug: Focus is lost when changing tabs May 6, 2024
@MarathonMax
Copy link
Author

MarathonMax commented May 6, 2024 via email

@MarathonMax
Copy link
Author

MarathonMax commented May 6, 2024 via email

@yaira2 yaira2 added good first issue Good issue for new contributors to get started with and removed needs-additional info Needs more information from the reporter labels May 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working 👀 good first issue Good issue for new contributors to get started with
Projects
Status: 🏗 In progress
Development

Successfully merging a pull request may close this issue.

3 participants