GameGodS3 / DropPoint

Make drag-and-drop easier using DropPoint. Drag content without having to open side-by-side windows
https://droppoint.netlify.app/
GNU General Public License v3.0
841 stars 57 forks source link

DropPoint doesn't appear across External Monitors #8

Open AJAYK-01 opened 3 years ago

AJAYK-01 commented 3 years ago

Describe the bug

Similar to Dragging and dropping across workspaces and apps, I tried to drag and drop files to a window in my external monitor. But I am having to drag the DropPoint window to the other monitor to have it visible there.

To Reproduce

Steps to reproduce the behavior:

  1. Connect to an external monitor
  2. Open up DropPoint in either of the monitors
  3. DropPoint window only shows up in One of them and has to be dragged to the other to drop something there.

Expected behavior

DropPoint window should appear across all monitors similar to appearing across desktops.

Desktop:

GameGodS3 commented 3 years ago

Upon trying to think up some solutions, I realised how complex this could get.

Unlike workspaces, multiple monitors are only considered as just an extra surface area of the same desktop screen. Which means, what you are essentially asking for, is to have instances of DropPoint equal to the number of screens you have.

From what I read, Electron API can detect external screens, and through some interesting methods, identify them uniquely. So, identifying where the screens are wouldn't be much big of a hassle.

What would be a hassle, is to have the instance come in all of them. For this, we have to implement the following changes:

It would be a nice feature to implement, but I would really appreciate any help or contribution for the same. Hence, I shall be marking this as 'help wanted' Cheers