Browser-laptop: Ctrl+Tab, then scrolling often results in zooming

Created on 18 Aug 2016  路  18Comments  路  Source: brave/browser-laptop

Description

When having multiple tabs open, pressing Ctrl+Tab to shift tabs and then scrolling using the touchpad results in the page being zoomed out.

I think this is happening because Brave gets the news that Ctrl has been released before it starts receiving touchpad scrolling input.

Steps to Reproduce

https://github.com/brave/browser-laptop/issues/3244#issuecomment-324180355

  1. Open Brave
  2. Open a tab
  3. Load http://www.onemilescroll.com/
  4. Open another tab
  5. Load https://www.wikipedia.org/
  6. Switch back to the http://www.onemilescroll.com tab
  7. Using either a mouse/trackpad, swipe so the page starts scrolling
  8. While the page is scrolling, press Control + TAB to switch over to https://www.wikipedia.org/

Another STR:

  1. Go to https://reddit.com/r/askreddit
  2. Open 10 links in new tabs.
  3. Wait for the tabs to finish loading.
  4. Press Ctrl+Tab to shift to a new tab.
  5. As soon as the tab is switched, but after you have released the Ctrl key, scroll down the page with the touchpad or mouse wheel.

Actual result:

Scrolling happens, eventually

Expected result:

Actual: Scrolling happens, but the page is often zoomed out to less than 100%.

Reproduces how often:

Brave Version

about:brave info:

macOS 0.11.5

Reproducible on current live release:

Additional Information

featurkeyboard-shortcuts fixed-with-brave-core perf prioritP4 usability wontfix

Most helpful comment

+1 from the community via the #discuss-bugs channel under Discord. I managed to reproduce the issue while investigating using the following STR:

All 18 comments

Confirmed on Windows too. Zoom level changes immediately when the Ctrl button is pressed after scroll done with touchpad. Happens on a single tab no need to open multiple tabs. Not happening with mouse wheel though.

Just to be clear, Ctrl + scrolling is _supposed_ to zoom. Or, at least that's how it works in some other browsers.

But if it happens without any modifier keys pressed, that is a bug.

This also happens if you scroll first then follow up quickly by switching tabs.

+1 I use Ctrl+Tab & Ctrl+Shift+Tab to navigate through tabs and it's frustrating when my screen zooms in when it shouldn't

I have this problem often, too.

Adding a milestone

+1 from the community via the #discuss-bugs channel under Discord. I managed to reproduce the issue while investigating using the following STR:

I want to comment that the Zooming bug actually happens in reverse order: Scrolling, then ctrl+tab. I have documented steps to reproduce this (a more noticeable bug), which might help debug the case a bit more:

https://community.brave.com/t/scrolling-with-touchpad-on-macos-and-immediately-ctrl-tabbing-causes-page-to-zoom-in-out/9882

Any chance this gets fixed sooner? This bug is super-evident on macs since macOS has scroll momentum on trackpad, so almost every Mac user will get resizing issues when scrolling and changing tabs.

Been using Brave for a couple of days and this one's really noticeable with the scroll momentum on macOS as @fizzyfrosty mentioned.

Just wanted to comment that this is still an issue and is super frustrating.

Loving Brave, but this bug still exists and is incredibly frustrating.

@bsclifton why was this closed? This is still an issue and is really frustrating

@tylerl0706 there hasn't been any action on this unfortunately- and we're also in the midst of a move to brave-core where this might already be fixed

If you have a few minutes, can you please try installing brave-core?
https://github.com/brave/brave-browser/releases

Once installed, it would be useful to know if this bug still occurs. I have a feeling it doesn't

That's fine. I tested Brave Core and the problem does not exist there 馃憤

Not-so-patiently awaiting Brave Core to be more mainstream 馃槉

Thanks!

@tylerl0706 is this still happening with b-c for you? From the sounds of https://github.com/brave/brave-browser/issues/1005, it looks like you're also running the latest b-c. If you have some time, mind quickly checking and seeing if b-c as resolved this issue for you?

@kjozwiak yeah this is fixed in Brave Core

@kjozwiak yeah this is fixed in Brave Core

Awesome, thanks @tylerl0706! 馃憤

Was this page helpful?
0 / 5 - 0 ratings

Related issues

bsclifton picture bsclifton  路  3Comments

jkup picture jkup  路  3Comments

jonathansampson picture jonathansampson  路  3Comments

stevespringett picture stevespringett  路  3Comments

antiroyalty picture antiroyalty  路  3Comments