mirout reports logical size of a rotated display incorrectly
Bug #1665271 reported by
Daniel van Vugt
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mir |
Fix Released
|
Medium
|
Daniel van Vugt | ||
mir (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
mirout reports logical size of a rotated display incorrectly.
For example, if I rotate a 1920x1200 display 90 degrees right it reports:
Output 48: DisplayPort, connected, "DELL U2413", 1920x1200+0+0, enabled, on, 520mm x 320mm (24.0"), right, 1.00x, unknown, monitor
where "1920x1200+0+0" should actually be "1200x1920+0+0" since that's the logical rectangle now displayed.
Related branches
lp://staging/~vanvugt/mir/get-logical-size
- Mir CI Bot: Approve (continuous-integration)
- Daniel van Vugt: Approve
- Brandon Schaefer (community): Approve
- Andreas Pokorny (community): Approve
-
Diff: 162 lines (+67/-14)7 files modifiedinclude/client/mir_toolkit/mir_display_configuration.h (+22/-0)
src/client/display_configuration_api.cpp (+10/-0)
src/client/symbols.map (+2/-0)
src/protobuf/mir_protobuf.proto (+2/-0)
src/server/frontend/protobuf_buffer_packer.cpp (+4/-0)
src/utils/out.c (+3/-14)
tests/acceptance-tests/test_new_display_configuration.cpp (+24/-0)
Changed in mir: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fix committed into lp:mir at revision 4042, scheduled for release in mir, milestone 1.0.0