hluk / CopyQ

Clipboard manager with advanced features
GNU General Public License v3.0
8.69k stars 441 forks source link

Multiple monitors with different scaling #2141

Open CactusPie opened 2 years ago

CactusPie commented 2 years ago

Describe the bug I use multiple monitors with different different UI scaling. When moving CopyQ window between those monitors, the UI doesn't scale properly. For instance, when moving CopyQ window from a monitor with 100% scale to a monitor with 150% scale, the interface renders incorrectly. When I move the window back, it goes back to normal. Please see the attached screenshots for details.

Version, OS and Environment (Get details from copyq version command if possible.)

Screenshots image image image

hluk commented 2 years ago

This looks like a Qt bug.

You can try disabling the automatic window size/position restoring to see if it behaves better:

  1. Open Action dialog (F5 shortcut).
  2. Enter command: copyq config restore_geometry false
  3. Click OK.
  4. Restart the application.

(To revert this use true instead of false in the command.)

redactedscribe commented 1 year ago

In my dual-screen setup, dragging from one monitor to the other also causes issues when crossing the boundary between. However, I don't think the bug is related to scaling (mine are both the same), but simply differing resolutions. I do not have two monitors of the same resolution to confirm this.

Running copyq config restore_geometry false was exactly what I needed to prevent the bug from occurring, but it's a shame that this is required out-of-the-box just to get things working as expected, and also at the loss of whatever improvement to UX the option supposedly provides (I've only just installed CopyQ for the first time).

CopyQ 6.4.0 Windows 11 Pro 10.0.22621