Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

drag and drop window in application intended feature fails to function #35

Open
apprehensions opened this issue Jan 27, 2023 · 0 comments

Comments

@apprehensions
Copy link
Contributor

apprehensions commented Jan 27, 2023

testing.mp4

the video linked above shows the feature of the Spotify client when a song 'entry' is held with mouse, which makes a seperate window that the spotify client will use to know where to place it in the current playlist.

testing.mp4

however, when this feature is done in shod - seen in the video above, the feature no longer works.

i am unable to determine what kind of window Spotify makes that makes it not able to see it's own windows, which in result makes it trying to find the window's position fail.

using xwininfo, i was able to find that this is a Chromium drag & drop window.

     0x18001ca "Ozone X11": ("spotify" "Spotify")  158x25+2367+821  +2367+821
     0x18001cb (has no name): ()  10x10+-100+-100  +-100+-100
     0x18001c9 "Chromium Drag & Drop Window": ()  10x10+-100+-100  +-100+-100
xwininfo: Window id: 0x18001c9 "Chromium Drag & Drop Window"

  Root window id: 0x1e8 (the root window) (has no name)
  Parent window id: 0x1e8 (the root window) (has no name)
     0 children.

  Absolute upper-left X:  -100
  Absolute upper-left Y:  -100
  Relative upper-left X:  -100
  Relative upper-left Y:  -100
  Width: 10
  Height: 10
  Depth: 0
  Visual: 0x21
  Visual Class: TrueColor
  Border width: 0
  Class: InputOnly
  Colormap: 0x0 (not installed)
  Bit Gravity State: ForgetGravity
  Window Gravity State: NorthWestGravity
  Backing Store State: NotUseful
  Save Under State: no
  Map State: IsUnMapped
  Override Redirect State: yes
  Corners:  +-100+-100  -2778+-100  -2778-1456  +-100-1456
  -geometry 10x10+-100+-100

  Bit gravity: ForgetGravity
  Window gravity: NorthWestGravity
  Backing-store hint: NotUseful
  Backing-planes to be preserved: 0xffffffff
  Backing pixel: 0
  Save-unders: No

  Someone wants these events:
  Do not propagate these events:
  Override redirection?: Yes

  No window manager hints defined
  Window manager hints:
      Process id: (unknown)

  No normal window size hints defined
  No zoom window size hints defined

  No window shape defined
  No border shape defined
xwininfo: Window id: 0x18001ee "Ozone X11"

  Root window id: 0x1e8 (the root window) (has no name)
  Parent window id: 0x1e8 (the root window) (has no name)
     0 children.

  Absolute upper-left X:  2101
  Absolute upper-left Y:  999
  Relative upper-left X:  2101
  Relative upper-left Y:  999
  Width: 168
  Height: 25
  Depth: 24
  Visual: 0x21
  Visual Class: TrueColor
  Border width: 0
  Class: InputOutput
  Colormap: 0x20 (installed)
  Bit Gravity State: NorthWestGravity
  Window Gravity State: NorthWestGravity
  Backing Store State: NotUseful
  Save Under State: no
  Map State: IsViewable
  Override Redirect State: yes
  Corners:  +2101+999  -419+999  -419-342  +2101-342
  -geometry 168x25+2101+999

  Bit gravity: NorthWestGravity
  Window gravity: NorthWestGravity
  Backing-store hint: NotUseful
  Backing-planes to be preserved: 0xffffffff
  Backing pixel: 0
  Save-unders: No

  Someone wants these events:
      KeyPress
      KeyRelease
      ButtonPress
      ButtonRelease
      EnterWindow
      LeaveWindow
      PointerMotion
      Exposure
      VisibilityChange
      StructureNotify
      FocusChange
      PropertyChange
  Do not propagate these events:
  Override redirection?: Yes

  No window manager hints defined
  Window manager hints:
      Window type:
          Dnd
      Window state:
          Above
      Process id: 6 on host teapot

  Normal window size hints:
      Program supplied location: 2099, 954
  No zoom window size hints defined

  No window shape defined
  No border shape defined
xwininfo: Window id: 0x18001fb (has no name)

  Root window id: 0x1e8 (the root window) (has no name)
  Parent window id: 0x1e8 (the root window) (has no name)
     0 children.

  Absolute upper-left X:  -100
  Absolute upper-left Y:  -100
  Relative upper-left X:  -100
  Relative upper-left Y:  -100
  Width: 10
  Height: 10
  Depth: 0
  Visual: 0x21
  Visual Class: TrueColor
  Border width: 0
  Class: InputOnly
  Colormap: 0x0 (not installed)
  Bit Gravity State: ForgetGravity
  Window Gravity State: NorthWestGravity
  Backing Store State: NotUseful
  Save Under State: no
  Map State: IsViewable
  Override Redirect State: yes
  Corners:  +-100+-100  -2778+-100  -2778-1456  +-100-1456
  -geometry 10x10+-100+-100

  Bit gravity: ForgetGravity
  Window gravity: NorthWestGravity
  Backing-store hint: NotUseful
  Backing-planes to be preserved: 0xffffffff
  Backing pixel: 0
  Save-unders: No

  Someone wants these events:
      KeyPress
      KeyRelease
      ButtonPress
      ButtonRelease
      PointerMotion
      StructureNotify
  Do not propagate these events:
  Override redirection?: Yes

  No window manager hints defined
  Window manager hints:
      Process id: (unknown)

  No normal window size hints defined
  No zoom window size hints defined

  No window shape defined
  No border shape defined
@apprehensions apprehensions changed the title drag and drop in application intended feature fails to function drag and drop window in application intended feature fails to function Jan 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant