Current resolution is the Maximum resolution always.

Bug #1447466 reported by Gabriel Zhi Chen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Checkbox Provider - Base
Fix Released
Medium
Sylvain Pineau

Bug Description

Steps:
1. Execute plainbox and go to test case --
Running Job (CatchallJobResultAvailableSignalsHandler) "2013.com.canonical.certification::graphics/1_maximum_resolution_PCI_ID_0x1616"
2. Adjust the resolution to 1400*1050
3. Click 'Test' on Plainbox interface, and verify the result.

Actual result:
Information window pops up and said
--------------------------------------------
Maximum resolution: 1920x1080
Current resolution: 1920x1080
--------------------------------------------

Expect result:
Information window pops up and should show that
--------------------------------------------
Maximum resolution: 1920x1080
Current resolution: 1400x1050
--------------------------------------------

Please refer to screenshot.

Related branches

Revision history for this message
Gabriel Zhi Chen (gabrielzchen) wrote :
Revision history for this message
Gabriel Zhi Chen (gabrielzchen) wrote :
description: updated
Revision history for this message
Daniel Manrique (roadmr) wrote :

Hi Gabriel,

Could you please run these commands and attach the resulting files?

xrandr -q > xrandr.log
xdpyinfo > xdpyinfo.log

We can use these to validate why yu're getting an incorrect current resolution, which is obtained as follows:

xdpyinfo | grep dimension | awk '{print $2}'

This is all done directly in the inline command for the generated graphics jobs (found in graphics/generator_maximum_resolution)

Changed in plainbox-provider-checkbox:
status: New → Incomplete
Revision history for this message
Gabriel Zhi Chen (gabrielzchen) wrote :

Hi Daniel,

xrandr.log, xdpyinfo.log and the latest screenshot are in attachments. Please refer to them.

In screenshot2.png, following your info, I executed command $ xdpyinfo | grep dimension | awk '{print $2}', get the correct feedback "1400x1050".

But it is still get the incorrect result when I use plainbox test case graphics/generator_maximum_resolution

Revision history for this message
Gabriel Zhi Chen (gabrielzchen) wrote :
Revision history for this message
Gabriel Zhi Chen (gabrielzchen) wrote :
Changed in plainbox-provider-checkbox:
status: Incomplete → In Progress
assignee: nobody → Sylvain Pineau (sylvain-pineau)
Changed in plainbox-provider-checkbox:
importance: Undecided → Medium
Changed in plainbox-provider-checkbox:
status: In Progress → Fix Committed
Changed in plainbox-provider-checkbox:
milestone: none → 0.20
Changed in plainbox-provider-checkbox:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.