Space bar should scroll forward a whole page, not a small step.
還沒有人認領這個 Issue。
評估
研究方向
從 libview/ev-view.c 中大約第 5773-5775 行開始,檢查空白鍵動作如何使用 GTK_SCROLL_STEP_FORWARD。將其與 GTK_SCROLL_PAGE_FORWARD 進行比較,並驗證 Space 會向前捲動一頁,而 Shift+Space 仍會向後捲動一頁。
由索引模型根據 Issue 內容生成。
描述
Distribution
Mint 22
Package version
4.2.2
Frequency
Always
Bug description
When I press the space bar, it scrolls forward by a small step.
However, I expect it to scroll forward by a whole page, similar to many other programs.
Steps to reproduce
Press space bar while viewing a document.
Expected behavior
The page should scroll forward by a whole page.
Additional information
I think this behaviour was added here: https://github.com/linuxmint/xreader/commit/d170f6e63c2272cc6174b42504416b0b244129f0
And is now perhaps here?
https://github.com/linuxmint/xreader/blob/24f7653b5d4b83b153670deecf8f88563e37c627/libview/ev-view.c#L5773
https://github.com/linuxmint/xreader/blob/24f7653b5d4b83b153670deecf8f88563e37c627/libview/ev-view.c#L5775
It's using GTK_SCROLL_STEP_FORWARD, but I'm wondering if it should be GTK_SCROLL_PAGE_FORWARD.
(Shift+Space scroll backwards a whole page as expected.)
- 主要語言
- C
- 星號
- 285
- 分支
- 82
- PR 合併指標
- 30 天內沒有已合併 PR
環境準備
這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
linuxmint/xreader 的其他 Issue
-
Cyrillic homoglyph characters used in place of ASCII <p> tags in Kazakh AppData description string未關閉
難度 1/5 1 小時以內 新手友好度 88/100
-
[SECURITY] - An attacker can write files with exact names to arbitrary locations on the filesystem未關閉
難度 2/5 1-3 小時 新手友好度 72/100
-
難度 4/5 3-5 天 新手友好度 38/100
-
難度 4/5 3-5 天 新手友好度 45/100
-
難度 3/5 1-2 天 新手友好度 55/100
查看 linuxmint/xreader 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 82/100
OpenPrinting/cups#1751 ·
維護者通常 1 天內回覆
-
enhancement good first issue
難度 2/5 1-3 小時 新手友好度 66/100
維護者通常 1 天內回覆
-
compile: jv_mem_calloc assertion abort after "too many function parameters" error in a nested function可能已有人在做 關聯的 PR 仍在進行中或已合併。 未關閉
難度 2/5 1-3 小時 新手友好度 72/100
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 72/100
NASA-AMMOS/BSL#355 ·
維護者通常 1 天內回覆
-
bug
難度 2/5 1-3 小時 新手友好度 78/100
arancormonk/dsd-neo#660 ·
維護者通常 1 天內回覆