element-desktop icon indicating copy to clipboard operation
element-desktop copied to clipboard

Difficult to move Element Desktop window on macOS

Open otri opened this issue 3 months ago • 4 comments

Steps to reproduce

  1. Logged in to Element
  2. Attempt to click-drag window to new position

Outcome

What did you expect?

Should be able to grab the top 10pt top bar area, or anywhere there's empty space in the top window navigation bar areas. For example the empty space between the "SPD" room name to the camera icon, should be grabbable area to move the window.

What happened instead?

Only a thin 2pt grab area is available to relocate the window. Above that is a 5pt tall top resize bar, below does nothing.

Image

Operating system

macOS 15.6.1 (24G90)

Application version

Element Version 1.12.0 (1.12.0)

How did you install the app?

No response

Homeserver

N/A. custom home server, running Synapse

Will you send logs?

No

otri avatar Sep 24 '25 07:09 otri

For example the empty space between the "SPD" room name to the camera icon, should be grabbable area to move the window.

That whole area is a button, and in Electron something cannot be both clickable and a drag handle for the window

t3chguy avatar Sep 24 '25 08:09 t3chguy

Only a thin 2pt grab area is available to relocate the window. Above that is a 5pt tall top resize bar, below does nothing.

The area to drag the window has the height of 13px. You can see the space above the selection:

Image Image

florianduros avatar Sep 24 '25 09:09 florianduros

Which is still tiny...

Drag area on Chrome is massive

Image

Drag area in JB IDEs still large

Image

Drag area in Spotify is huge

Image

Drag area in Beeper is narrow but tall

Image

Drag area in Notion is similar to JB

Image

Drag area in WhatsApp is comprehensive

Image

t3chguy avatar Sep 24 '25 09:09 t3chguy

Only a thin 2pt grab area is available to relocate the window. Above that is a 5pt tall top resize bar, below does nothing.

The area to drag the window has the height of 13px. You can see the space above the selection:

Image Image

Okay, so 13px is very tall on non-retina display. This top zone is effectively 13px / 2pts per pixel => 6.5 pts on a retina screen, and if you look at the actual drag-able areas, it's closer to 2pts, because of the approx ~5pt resize area above it.

-- | <-- 5pt resize window slice -- | <-- 2pt drag window slice -- | | <-- Search or Room Name Zone | | | | | --

The way Room name button toggle works has been a bit thorny since it was introduced ages ago. I'm sure some people are used to the new functionality and prefer it, but I really liked the prior model of seeing a line of detail below the Room name. I used this to link to a scratchpad document on whatever service I chose. It was so handy to keep persistent things there, and use Matrix chat for ephemeral stuff. This toggling button behaviour to reveal the sidebar is redundant to the (i) button on the far right.

otri avatar Sep 24 '25 14:09 otri