Skip to content

[BUG] Wrong display resolution and size when using an external monitor #1406

@CTRL-panino

Description

@CTRL-panino

General description of bug:

  • What happened:

While using an external monitor in duplication mode, the display resolutions and sizes reported by Fastfetch do not match the actual resolutions and sizes of the displays (both for the built-in and the external displays).

In my example, Fastfetch should report:
Built-in: 3456x2234 (16")
External: 1920x1080 (32")

When the built-in screen is the target, Fastfetch incorrectly reports the external display as:
Resolution: 3456x2234 (incorrect, its max resolution is 1080p)
Size: 57" (incorrect, its max size is 32")
Screenshot 2024-11-19 alle 12 36 46

When the external display is the target, Fastfetch reports the built-in screen as:
Scaled Resolution: 1920x1080 (incorrect, this is the scaled resolution, not the actual resolution)
Size: 8" (incorrect)
Screenshot 2024-11-19 alle 12 29 57

The issue doesn't occur when the external display is set as "extended display"
Screenshot 2024-11-19 alle 12 31 42

  • What should happen: In my opinion, Fastfetch should report the actual resolutions and sizes. Then, separately, the scaled resolutions
  • Fastfetch version used: 2.30.1
  • Did it work in an older version: No
  • Where did you get the binary: from the GitHub release page
  • Does this issue still occur in the latest dev build? Yes

Often helpful information:

Output of fastfetch -c ci.jsonc --format json: I didn't include the output for the three different scenarios to avoid creating a wall of text, but I can provide it if necessary.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions