Bug 394949 - again rectangle screenshot. rectangle is auto resize.
Summary: again rectangle screenshot. rectangle is auto resize.
Status: RESOLVED WORKSFORME
Alias: None
Product: Spectacle
Classification: Applications
Component: General (show other bugs)
Version: 17.12.3
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Boudhayan Gupta
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-02 11:42 UTC by Unknown
Modified: 2018-06-04 19:40 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.