[Bug]: Conflicting interactions of middle mouse button on PDFs when autoscrolling

Open
#304 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
22/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
shell
Domain
desktop

Research direction

The payload names no files or tests. Start by reproducing the conflict with the helium://flags/#middle-click-autoscroll flag enabled and a PDF open, then check whether the autoscroll and PDF pan handlers both receive the middle-button drag. Done would mean one behavior takes priority during a middle-button drag, or a toggle controls it, and the PDF no longer moves in opposite directions.

Written by the indexing model from the issue text.

Description

bug
Version

Version 0.12.4.1 (Official Build, Chromium 148.0.7778.178) appimage (64-bit)

Have you tested that this is not an upstream issue or an issue with your configuration?
  • I have tried reproducing this issue in Chrome and it could not be reproduced there
  • I have tried reproducing this issue in ungoogled-chromium and it could not be reproduced there
  • I have tried reproducing this issue in Helium with a new and empty profile using --user-data-dir command line argument and it could not be reproduced there
Description

When attempting to move in a PDF using the middle mouse button and with the middle-click-autoscroll flag enabled, the PDF moves in opposite directions.

How to Reproduce?
  1. Enable helium://flags/#middle-click-autoscroll.
  2. Hold down the middle mouse button and move the mouse down.
  3. The PDF pans up, since you're grabbing it with the middle mouse, and the autoscroll starts to scroll down the PDF simultaneously.

Same happens in other directions.

Actual behavior

The PDF pans in the opposite direction to the autoscroll, so the PDF moves unpredictably.

Expected behavior

Either panning or autoscrolling should be prioritised, perhaps with a toggle.

Additional context

Could not recreate in Chrome or ungoogled-chromium since neither have an autoscrolling option/flag (afaik)

Dominant language
Shell
Stars
1.1k
Forks
63
Avg merge
28m
Merged PRs (30d)
11

Getting set up

  • No Dockerfile or Docker Compose file
  • Has a pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from imputnet/helium-linux

All issues in imputnet/helium-linux

Similar issues

More Shell/Bash issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.