screentray-distribution icon indicating copy to clipboard operation
screentray-distribution copied to clipboard

Blur/pixelate tool blurs incorrect area

Open sfeidersullivan opened this issue 6 years ago • 4 comments

Description

The blur/pixelate tool blurs the incorrect area

Steps to Reproduce

  1. Take partial or full screenshot
  2. Select an area using the blur/pixelate tool

Expected Results

Area under selection should be blurred

Actual Results

Blurred area is scaled up and translated to the bottom right image

Versions

ScreenTray: 1.2.0 MacOS: 10.13.6

sfeidersullivan avatar Feb 05 '19 00:02 sfeidersullivan

Hello! Thank you for reporting this. One user has already reported this issue, but I couldn't reproduce it. It looks like the library, which is used for drawing in ScreenTray, fails to recognize that you are using a high-resolution (retina) display. Could you answer these questions below to help me reproduce the issue, please:

  1. Do you use an external display?
  2. Which MacBook do you use? What is your built-in display?

DSnopov avatar Feb 05 '19 14:02 DSnopov

Hello! Thank you for reporting this. One user has already reported this issue, but I couldn't reproduce it. It looks like the library, which is used for drawing in ScreenTray, fails to recognize that you are using a high-resolution (retina) display. Could you answer these questions below to help me reproduce the issue, please:

  1. Do you use an external display?
  2. Which MacBook do you use? What is your built-in display?

@DSnopov I think you are right!

  1. Yes, 2560 x 1440 ASUS PB278
  2. 2017 15" 2880 x 1800 Retina MacBook Pro, Radeon Pro 560 4096 MB graphics

More specific steps to reproduce

  1. Plug in external display
  2. Keep built in display open
  3. Take screenshot on built in display (will work fine if taken on external)
  4. Select area with blur tool
  5. Blur will not match selection

Note: it matters which display the screen shot was taken on, not which display the blur tool was used.

sfeidersullivan avatar Feb 05 '19 17:02 sfeidersullivan

Interesting. Another user who reported this issue had the same external display so that might be the cause of the problem. ScreenTray was tested with several external monitors, and everything worked as expected. Apparently, there are exceptions. Sorry if I'm asking too much, but could you open Chrome and paste here the output from this jsfiddle (https://jsfiddle.net/9kwfm07y/) for both your displays? I appreciate your feedback. Please send an email to [email protected] to get free license keys if you need them. Thanks for your help @sfeidersullivan !

DSnopov avatar Feb 06 '19 13:02 DSnopov

np!

Both Displays On

External:

  • Device Pixel Ratio: 1
  • Backing Store Pixel Ratio: 1

Built-in:

  • Device Pixel Ratio: 2
  • Backing Store Pixel Ratio: 1

External Only

  • Device Pixel Ratio: 1
  • Backing Store Pixel Ratio: 1

Built-in Only

  • Device Pixel Ratio: 2
  • Backing Store Pixel Ratio: 1

sfeidersullivan avatar Feb 06 '19 17:02 sfeidersullivan