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

Alt+selecting text refocuses to main menu on Desktop client

Open HellMapGoesCoding opened this issue 2 years ago • 5 comments

On Desktop client, when mouse drag-selecting text while holding Alt, upon mouse release the message text loses focus and instead the main menu gets the focus. This means attempting to Ctrl+C the text won't work. In the case of links, Alt-select is the only way to select text, because otherwise the app will attempt to drag the link. You would have to re-focus the selection by right-clicking the popup menu (left-clicking the selection would open the link, while left-clicking elsewhere would de-select the text).

Here's me attempting to Alt+select some text to copy:

issue

This happens with message post text box both open and closed.

A couple other people noted that they couldn't reproduce, so I'm not sure how my setup is different.

I have menu bar auto-hide disabled (so I always see it), but toggling that doesn't change anything - it just means the menu will get shown (which would be rather annoying, since it shifts/resizes the whole window).

Desktop client v5.9.4, Windows 10 Pro 18362.

HellMapGoesCoding avatar Jan 17 '23 20:01 HellMapGoesCoding

Thanks for the report! Does this only happen for you in the desktop app, or does something similar happen in the web application?

timabbott avatar Jan 18 '23 21:01 timabbott

This specific interaction only happens on the Desktop app for me. I didn't check browser versions, but I can check now.

In Firefox, with edit text box open - Alt+selecting any text within a link doesn't selects any text at all. With edit text box closed, it selects fine.

In Opera, Alt+selecting works fine either way.

In Chrome, Alt+selecting works fine either way.

HellMapGoesCoding avatar Jan 18 '23 21:01 HellMapGoesCoding

OK, transferring this to the Zulip desktop app repository; this seems decently likely to be an Electron bug. I'd be interested in whether it happens with 5.9.3.

timabbott avatar Jan 24 '23 18:01 timabbott

Oh, my bad, I didn't realize there were multiple repos. Thanks!

Yes, it happens on 5.9.3 for me.

HellMapGoesCoding avatar Jan 24 '23 19:01 HellMapGoesCoding

This seems to be an Electron issue on Windows that was incorrectly marked as a duplicate of a fixed issue on Linux.

  • electron/electron#28314

andersk avatar Jan 24 '23 19:01 andersk