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]: Reloading video (crtl-r) reloads a window other than the focused one. #5039

Open
5 of 6 tasks
Lee-Adamson opened this issue Apr 29, 2024 · 4 comments
Open
5 of 6 tasks
Labels
B: content not loading B: keyboard control B: usability bug Something isn't working OS: linux issue that occurs on linux but not on other platforms
Projects

Comments

@Lee-Adamson
Copy link

Guidelines

  • I have encountered this bug in the latest release of FreeTube.
  • I have encountered this bug in the official downloads of FreeTube.
  • I have searched the issue tracker for open and closed issues that are similar to the bug report I want to file, without success.
  • I have searched the documentation for information that matches the description of the bug I want to file, without success.
  • This issue contains only one bug.

Describe the bug

FreeTube 0.20.0 running on x64 Linux. Notion window manager (though I doubt that has anything to do with it). Opening several videos in new windows from the subscriptions list, so as to watch later. After leaving the machine some for some hours and coming back to watch videos, they've lost connection and have to be reloaded (crtl-r). However, pressing ctrl-r always refreshes the first window that was opened in the stack, not the one that is currently focused.

Expected Behavior

Reloading the video (ctrl-r) should reload the currently focused window, not a backgrounded unfocused one.

Issue Labels

content not loading, keyboard control not working, usability issue

FreeTube Version

0.20.0 Beta

Operating System Version

Linux X64 (Devuan stable)

Installation Method

.deb

Primary API used

Local API

Last Known Working FreeTube Version (If Any)

Unknown

Additional Information

No response

Nightly Build

@Lee-Adamson Lee-Adamson added the bug Something isn't working label Apr 29, 2024
@FreeTubeBot FreeTubeBot added this to To assign in Bug Reports Apr 29, 2024
@absidue absidue added the OS: linux issue that occurs on linux but not on other platforms label Apr 30, 2024
@jasonhenriquez
Copy link
Collaborator

Cannot replicate (Linux x64, portable). If you were to open up two windows from a fresh session and hit Ctrl+R, does it work correctly, or does it only happen after all windows are open for a while?

@Lee-Adamson
Copy link
Author

Fresh session in Notion still behaves as described above. But then I fired it up in Xephyr with a non-tiling/tabbed window manager (Openbox) and it behaves as expected. I still believe that there is some manner of funny business going on with Freetube though, as this sort of thing only happens with Freetube, not with any other applications.

@efb4f5ff-1298-471a-8973-3d47447115dc

@Lee-Adamson Does the same issue happen for other Electron apps such as Visual Studio Code or Discord to mention some well-known ones?

@Lee-Adamson
Copy link
Author

I have been unable to suss out how to open multiple windows in Discord or Element. They both seem to use modal dialogs for everything.

So I installed VS Code for testing purpose. I opened 3 different windows and moved them to different tab groups within Notion window manager. In any of these three windows, I can press control-shift-P and type "reload window". Doing so causes all three of the windows to close and then all three quickly reopen in the currently focused WM tab.

So the way Freetube and VSCode are handling reloading seems different. If there are any further tests I can do or other Electron applications you can recommend I try, please let me know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
B: content not loading B: keyboard control B: usability bug Something isn't working OS: linux issue that occurs on linux but not on other platforms
Projects
Bug Reports
To assign
Development

No branches or pull requests

4 participants