Wrong placement of annotation highlight

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

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

評価

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

調査の方向性

Linux Mint 上の Xreader 3.8.2 で、連続表示とページ幅全体を使用し、ページ n-1 の一部が見える状態で問題を再現します。まず、この表示で使用されている注釈とハイライトの処理を追跡します。ページ n-1 でマーカーをドラッグすると、次のページではなくそこにハイライトが配置されれば完了です。

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

説明

 * Xreader version 3.8.2
 * Distribution - Linux Mint 21.2 Cinnamon

Issue
If the page you are highlighting covers less than half of the window, annotation doesn't follow the cursor and automatically happens on the next page. But if the page covers more than half the window, annotation happens on the correct location.

Steps to reproduce
(See the small demo video)

  1. Open a pdf with xreader
  2. In the view menu select "continuous" and "full page width".
  3. Scroll to page n, but make sure that some portion of page n-1 is also visible
  4. Select annotation on the sidebar, and select highlighting marker.
  5. Try to highlight anywhere on page n-1

Expected behaviour
Highlighting should happen where the cursor is dragging, not on the next page.

Other information
A small demo video ---

https://github.com/linuxmint/xreader/assets/25789626/129d21f8-7f15-480d-af97-6b3274954549

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

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

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

linuxmint/xreader のほかの issue

linuxmint/xreader の issue をすべて見る

似ている issue

C の issue をもっと見る

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

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