Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

Space bar should scroll forward a whole page, not a small step.

未關閉
#658 0 則留言 1 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
1/5
預估耗時
1 小時以內
新手友好度
55/100
Issue 類型
缺陷
描述清晰度
描述清楚
活躍度
停滯
技術堆疊
c
領域
desktop

研究方向

從 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,通用步驟見我們的新手貢獻指南。

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

linuxmint/xreader 的其他 Issue

查看 linuxmint/xreader 的全部 Issue

相似的 Issue

更多 C Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。