Bug 394949

Summary: again rectangle screenshot. rectangle is auto resize.
Product: [Applications] Spectacle Reporter: Unknown <null>
Component: GeneralAssignee: Boudhayan Gupta <me>
Status: RESOLVED WORKSFORME    
Severity: normal CC: null, null
Priority: NOR    
Version First Reported In: 17.12.3   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Unknown 2018-06-02 11:42:12 UTC
1. 200px x 200px rectangle screenshot.
2. again. rectangle screenshot.
but rectangle 200px x 199px.
why?
and size check.
spectacle result is not 200px x 200px
identify -format '%x,%y\n' 0001screenshot.png
36.609999999999999432,37.00999999999999801

.6000000....decimal point is useless.
Comment 1 null 2018-06-04 19:40:32 UTC
> but rectangle 200px x 199px.
Sorry, I cannot reproduce that with Spectacle 18.04. Regardless of whether "Remember selected area" is checked in the settings or not, my screenshots always end up with the correct size.

> spectacle result is not 200px x 200px
Given this monitor:
  $ xdpyinfo | grep dots
  resolution:    96x97 dots per inch

…I get those results (in PPI instead of PPCM):
  $ identify -format '%w,%h\n' x.png
  200,200
  $ identify -verbose -units PixelsPerInch x.png | grep Resolution
  Resolution: 96.01x97

I don't think there's anything wrong with that.