Collect physical screen size

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

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)

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :
Changed in ubuntu-report:
status: Unknown → New
Changed in ubuntu-report:
status: New → Fix Released
description: updated
Changed in ubuntu-report (Ubuntu):
assignee: nobody → Didier Roche (didrocks)
Changed in ubuntu-report (Ubuntu Bionic):
assignee: nobody → Didier Roche (didrocks)
Revision history for this message
Didier Roche-Tolomelli (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
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Please test proposed package

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
Revision history for this message
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
Revision history for this message
Łukasz Zemczak (sil2100) wrote :

Please be sure to always include the version number of the package tested in the bugfix verification comment - we need to have certainty that the -proposed pocket version of the package has been used. That being said, I'm letting this in conditionally.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-report - 1.1.0

---------------
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)

 -- Didier Roche <email address hidden> Thu, 31 May 2018 09:58:03 +0200

Changed in ubuntu-report (Ubuntu Bionic):
status: Fix Committed → Fix Released
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Update Released

The verification of the Stable Release Update for ubuntu-report has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

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.