Incorrect display size for non-apple external monitors on macOS
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- cpp, macos
調査の方向性
まず、macOS における libpointing のディスプレイサイズ処理を追跡し、CGDisplayScreenSize と、リンク先の gist に示されている EDID の解析を比較します。報告された HP Compaq LA2205wg モニターでの動作を検証してください。完了条件は、既存のディスプレイ処理を維持しながら、Apple 製ではない外部ディスプレイについて正しい物理サイズを返すことです。
索引モデルが issue の本文から書いたものです。
説明
The display physical size returned by libpointing is incorrect on my external monitors (HP Compaq LA2205wg).
The problem seems to be coming from the native function "CGDisplayScreenSize", from the documentation :
"If Extended Display Identification Data (EDID) for the display device is not available, the size is estimated based on the device width and height in pixels from CGDisplayBounds, with an assumed resolution of 2.835 pixels/mm or 72 dpi, a reasonable guess for displays predating EDID support."
It seems to be what is happening because I obtain a DPI of 72 (instead of 86), but it should not be the case because my monitors have an EDID.
And I am able to retrieve the correct physical size by directly parsing the EDID of my monitors.
I wrote this code to compare the result obtained by parsing the EDID vs CGDisplayScreenSize :
https://gist.github.com/m-damien/75617b3eba1b125aac1be4af7444acad
I am on macOS Sierra.
The value returned by Qt using QScreen#logicalDotsPerInch is also incorrect.
- 主要言語
- C++
- スター
- 54
- フォーク
- 14
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
INRIA/libpointing のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 42/100
INRIA/libpointing#40 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
INRIA/libpointing#37 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 38/100
INRIA/libpointing#26 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 28/100
INRIA/libpointing#17 · コメント 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 20/100
INRIA/libpointing#10 ·
INRIA/libpointing の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
メンテナーはふだん 1 日以内に返信
-
`IO.FS.realPath` reports every failure as `noFileOrDirectory` instead of classifying by `errno`オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
leanprover/lean4#15683 ·
メンテナーはふだん 1 日以内に返信
-
[Bug] [geo] Haversine distance calculation can return NaN for antipodal coordinates対応中かも @516665061 が今日担当しました。 オープンstatus:needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
PX4/PX4-Autopilot#29211 ·
メンテナーはふだん 1 日以内に返信
-
llvm.memcpy with destination align but no source align asserts "Missed Source alignment!"対応中かも @pvelesko が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
KhronosGroup/SPIRV-LLVM-Translator#4093 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
メンテナーはふだん 1 日以内に返信