Collect physical screen size

Bug #1771976 reported by Jean-Baptiste Lallement on 2018-05-18
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-report
Fix Released
Unknown
ubuntu-report (Ubuntu)
Undecided
Didier Roche
Bionic
Undecided
Didier Roche

Bug Description

[Impact]

 * ubuntu-report collects the current resolution, it would be useful to collect the physical screen size and be able to compute pixel density for example.

[Test Case]

 * Run ubuntu-report show
 * Check that there is now a new field reporting the screen physical size alongside the resolution.

[Regression Potential]

 * Everything that isn't matched is just ignored ant not part of the finale json report.
 * We have an extensive testsuite covering the previous supported case and now this one that was added.

----

ubuntu-report collects the current resolution, it would be useful to collect the physical screen size and be able to compute pixel density for example.

ProblemType: Bug
DistroRelease: Ubuntu 18.10
Package: ubuntu-report 1.0.11
ProcVersionSignature: Ubuntu 4.15.0-20.21-generic 4.15.17
Uname: Linux 4.15.0-20-generic x86_64
ApportVersion: 2.20.10-0ubuntu2
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Fri May 18 11:17:10 2018
Dependencies:
 gcc-8-base 8.1.0-2ubuntu1
 libc6 2.27-3ubuntu1
 libgcc1 1:8.1.0-2ubuntu1
InstallationDate: Installed on 2014-07-15 (1403 days ago)
InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Alpha amd64 (20140520)
SourcePackage: ubuntu-report
UpgradeStatus: Upgraded to cosmic on 2018-03-24 (54 days ago)

Jean-Baptiste Lallement (jibel) wrote :
Changed in ubuntu-report:
status: Unknown → New
Changed in ubuntu-report:
status: New → Fix Released
Didier Roche (didrocks) on 2018-05-31
description: updated
Didier Roche (didrocks) on 2018-06-05
Changed in ubuntu-report (Ubuntu):
assignee: nobody → Didier Roche (didrocks)
Changed in ubuntu-report (Ubuntu Bionic):
assignee: nobody → Didier Roche (didrocks)
Didier Roche (didrocks) wrote :

Uploaded in cosmic via:

ubuntu-report (1.1.0cosmic) cosmic; urgency=medium

  * debian/gbp.conf: remove prebuild hook as exported in build-already now

ubuntu-report (1.1.0) bionic; urgency=medium

  * Delay reporting of system metrics when there is no network.
    A service then kicks in and try to report with exponential
    backoff until success (LP: #1774354)
  * Ensure that LANG is the user's language reported even in OEM
    mode (LP: #1765672)
  * Collect physical screen size (LP: #1771976)
  * Incorrect regex for GPU info (LP: #1765614)

Changed in ubuntu-report (Ubuntu):
status: New → Fix Released

Hello Jean-Baptiste, or anyone else affected,

Accepted ubuntu-report into bionic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/ubuntu-report/1.1.0 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed.Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-bionic to verification-done-bionic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-bionic. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in ubuntu-report (Ubuntu Bionic):
status: New → Fix Committed
tags: added: verification-needed verification-needed-bionic
Nafallo Bjälevik (nafallo) wrote :

Before:
  "Screens": [
    {
      "Resolution": "1920x1080",
      "Frequency": "60.00"
    }
  ],

After:
  "Screens": [
    {
      "Size": "294mmx165mm",
      "Resolution": "1920x1080",
      "Frequency": "60.00"
    }
  ],

tags: added: verification-done-bionic
removed: verification-needed-bionic
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

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