diodechain / diode_feedback

This is the place to Diode Drive users to give their feedback
3 stars 0 forks source link

MacOS shrinks the task bar icon when connecting to an external monitor #67

Closed hansr closed 4 months ago

hansr commented 3 years ago

OS: All (using MacOS 10.15.4)

Environment: MacOS 10.15.4, Diode Drive 1.0.2-++

image

Problem Description: If I start / restart Diode Drive when my external monitor is connected, and I have the external monitor active, the Diode Drive icon in my task bar shrinks.

image

Expected Behavior: The Diode Drive icon should remain large:

image

Steps to Reproduce:

  1. Connect an external monitor
  2. While the external monitor is in focus, start Diode Drive
  3. Observe the icon will be small

Other Notes I think the issue "could be" that Mac is scaling the icon and trying to use the same scale on the task bars of both displays at the same time.

I've tried debugging this by creating a number of icons of different sizes and replacing the icon in my /Applications/dDrive.app/Contents/Resources/lib/ddrive-1.0.1/priv folder. However, no combination works (best is 16px multiples). From the wxwidgets docs, it appears that perhaps it is possible to assign a .icns file as the icon that is used for the task bar icon - this may allow Mac to apply the right scale to the right display.

hansr commented 4 months ago

This is better now, although probably not perfect yet. Closing for now.