FreeTube icon indicating copy to clipboard operation
FreeTube copied to clipboard

[Bug]: Highlighting Search Text Will Scroll Page

Open microsloppy opened this issue 2 months ago • 6 comments

Guidelines

Describe the bug

  1. Scroll down an arbitrary amount on any page.
  2. Type anything into the Search box.
  3. Highlight the text from right to left.
  4. 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.

microsloppy avatar Sep 19 '26 16:09 microsloppy

Hi @microsloppy im unable to reproduce this issue.

Please upload a video of the steps outlined below:

  1. Open FreeTube
  2. Press Ctrl + Shift + c to open the console
  3. Reproduce the issue
  4. 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

microsloppy avatar Sep 25 '26 16:09 microsloppy

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 avatar Oct 01 '26 15:10 absidue

@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 avatar Oct 01 '26 23:10 microsloppy

@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.

kommunarr avatar Oct 24 '26 18:10 kommunarr