[Bug]: Highlighting Search Text Will Scroll Page
Guidelines
- [x] I have encountered this bug in the latest release of FreeTube.
- [x] I have encountered this bug in the official downloads of FreeTube. The only official downloads are from the https://freetubeapp.io website, the FreeTubeApp/FreeTube GitHub repository and the io.freetubeapp.FreeTube flatpak from Flathub.
- [x] I have searched the issue tracker for open and closed issues that are similar to the bug report I want to file, without success.
- [x] I have searched the documentation for information that matches the description of the bug I want to file, without success.
- [x] This issue contains only one bug.
- [x] I have read and agree to follow the rules.
Describe the bug
- Scroll down an arbitrary amount on any page.
- Type anything into the Search box.
- Highlight the text from right to left.
- The page will scroll up, in accordance to your highlight.
Expected Behavior
The page should be unaffected by highlighted text in the Search box.
Issue Labels
inconsistent behavior
FreeTube Version
v0.25.3 Beta
Operating System Version
Linux Mint 22.3
Installation Method
Flathub
Primary API used
Local API
Last Known Working FreeTube Version (If Any)
No response
Upload screenshots or videos
No response
Additional Information
Surprisingly, this only scrolls upwards; if you highlight the text from left to right, the page will not scroll downwards.
Nightly Build
- [ ] I have encountered this bug in the latest official nightly build, do not check this box if you are using an unofficial or custom build.
Hi @microsloppy im unable to reproduce this issue.
Please upload a video of the steps outlined below:
- Open FreeTube
- Press Ctrl + Shift + c to open the console
- Reproduce the issue
- Show output of console (we only need the red errors)
Hi @efb4f5ff-1298-471a-8973-3d47447115dc , unfortunately the behavior does not occur when the console is open, but I have attached a video of the issue below.
https://github.com/user-attachments/assets/a959ed55-6170-4d04-9e4b-256e0077dd2c
Scrolling the page when you are selecting text to allow you to select more things in the page is just standard browser behaviour and as FreeTube is built with Electron that is based on Chromium it inherits things like that from it. While it may not seem like it to you, the top bar is part of the scrollable page (notice how the scrollbar goes all the way from the top to the bottom of the window).
@absidue I'm confused as to how this only affects the scroll upwards, but not downwards.
This isn't a huge deal; I'm simply reporting a minor bug.
@microsloppy it does affect downwards just keep moving your cursor the the bottom of the screen
Closing as this is the default & expected text selection behavior for Chromium.