Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Middle-Button Scrolling on Pdf Files Causes Smooth/Animated Inertial Scrolling

オープン
#648 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
c
領域
desktop

調査の方向性

連続表示と、中央ボタンをドラッグして使用する組み込みのグラブスクロールを使って、Xreader 4.0.2 で問題を再現します。まず Xreader のグラブスクロール処理の場所を特定し、xinput grab scroll を無効にした場合と有効にした場合の動作を比較します。中央ボタンを離すと慣性移動なしでスクロールが直ちに停止すれば完了です。

索引モデルが issue の本文から書いたものです。

説明

Distribution

Fedora 40 t2

Package version

4.0.2

Frequency

Quite often

Bug description

If I use a 3-button mouse and middle-button scrolling, then the page continues scrolling after I've stopped scrolling. It takes time o slow down and stop.

Animated scrolling is disorienting, it makes it harder to find your place after scrolling, and it can cause motion sickness.

I'm uing Cinnamon, with Effects turned off, to try to avoid these types of animation.

Steps to reproduce
  1. Open a pdf file in xreader.
  2. Set it to continuous view; page-by-page view currently breaks scrolling.
  3. Hold the middle mouse button and drag up or down for some time. The longer you drag, the more likely you are to encounter the continued scrolling.
Expected behavior

When you release the middle mouse button, it should stop scrolling.

Additional information

This is for the grab scroll option, not for autoscroll.

Xreader has its own built-in grab scroll. In addition, if you use xorg, then xinput set-prop can set global grab scroll. This occurs with the xinput grab scroll disabled (so the xreader version is doing this) or enabled (so either or both may be doing this). From what I've seen, if you use wayland, there is not yet any global grab scroll.

主要言語
C
スター
286
フォーク
82
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

linuxmint/xreader のほかの issue

linuxmint/xreader の issue をすべて見る

似ている issue

C の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。