get-display-left-top-inset returns non-zero offset for monitor 0 on linux
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- linux
調査の方向性
racket/gui get-display-left-top-inset APIから始め、get-display-info snippetを使って、Linux上で提供されたmonitor-0の出力を再現します。結果をリンクされたドキュメントおよびモニター配置と比較し、報告されたゼロではないオフセットがmonitor 0に対して一貫して処理されることを確認します。
索引モデルが issue の本文から書いたものです。
説明
Following and investigation into tooltips being misplaced in https://github.com/alex-hhh/gui-widget-mixins/issues/3, we determined that the underlying issue is that for some reason on my system I have a non-zero offsets when calling get-display-left-top-inset for monitor zero. This is at variance with the docs.
(require racket/gui)
(get-display-left-top-inset #:monitor 0)
-1200
-370
The full display info is '(linux cs "8.0.0.11" 2 (0 1920 1080 -1200 -370) (1 1200 1920 0 0)) when running
(begin
(require racket/gui)
(define (get-display-info)
(append (list (system-type 'os*) (system-type 'gc) (version) (get-display-count))
(for/list ([monitor (in-range (get-display-count))])
(let-values ([(x y) (get-display-size #:monitor monitor)]
[(dx dy) (get-display-left-top-inset #:monitor monitor)])
(list
monitor
x y dx dy)))))
(get-display-info))
See also this thread in slack https://racket.slack.com/archives/C06V96CKX/p1618503646014800.
Here is the monitor layout if it helps.


- 主要言語
- Racket
- スター
- 68
- フォーク
- 83
- 平均マージ
- 9日 8時間
- マージ済み PR(30日)
- 4
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
racket/gui のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
plrigaux/sysd-manager#85 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
Pal-AI-Lab/Coopanion#469 ·
メンテナーはふだん 1 日以内に返信
-
area/mcp area/modeling effort/s impact/few priority/p3 severity/low triaged type/bug urgency/this-quarter
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
cristim/AztecCraft#336 ·
メンテナーはふだん 1 日以内に返信
-
[Obsidian] "Something went wrong" error when using Search Note対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンbug extension extension: obsidian platform: Windows
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
raycast/extensions#32838 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 73/100
メンテナーはふだん 2 日以内に返信