joplin icon indicating copy to clipboard operation
joplin copied to clipboard

Multi-cursor editing: editor loses focus on alt-drag

Open zblesk opened this issue 3 years ago • 35 comments

This is an issue with the behavior of multi-cursor editing in the MD editor. It does work, but the focus jumps around.

I'm talking about placing cursors on multiple lines, like this:

(Image taken from this forum thread. The issue was present even back then, so it's not new. I just hadn't realized immediately that it happens always, not just sometimes.)

Environment

Joplin 2.6.10 (prod, win32)

Client ID: bee3eb494cf64baa81d038c29abc497f Sync Version: 3 Profile Version: 41 Keychain Supported: No

Revision: 98fba37

Windows 10

Steps to reproduce

  1. hold down alt in the MD editor
  2. hold down the left mouse button, drag the mouse vertically over multiple lines of text
  3. release mouse button
  4. release alt

Describe what you expected to happen

After releasing alt, a cursor should appear on every line I dragged the mouse over, letting me edit in multiple places at once.

Bug: instead, when I release alt, the MD editor loses focus and the Joplin menu is focused instead.

Workaround: the cursor placement apparently does happen correctly; when I press ESC once or twice, the focus moves back from the menu to the editor. I can then press an arrow and the cursors appear in expected places.

My guess is that multilcursor editing might be present because it's a feature of the underlying editor? From the behavior it seems that it could be fixed by not letting alt focus the menu in case a mouse click also happened while it was pressed.

zblesk avatar Feb 15 '22 08:02 zblesk

I can't seem to replicate this from your steps (2.6.10, Linux Mint). When I release alt the cursor shows and I can type with multi cursor. Potentially Windows specific?

Daeraxa avatar Feb 15 '22 09:02 Daeraxa

Don't know, don't have a linux box with gui.

zblesk avatar Feb 15 '22 09:02 zblesk

Yup, seems specific to Windows, I can replicate it there but not Linux.

Daeraxa avatar Feb 15 '22 22:02 Daeraxa

I tried replicating the problem. When the alt key is released, the focus changes to menubars, which is the default behavior of the alt key in the application. On pressing the alt key back again, the focus comes back to multiple lines, and then we can type.

Manish4044 avatar Feb 20 '22 06:02 Manish4044

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions.

github-actions[bot] avatar Mar 23 '22 16:03 github-actions[bot]

The issue still persists in latest Joplin.

zblesk avatar Mar 23 '22 21:03 zblesk

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions.

github-actions[bot] avatar Apr 23 '22 16:04 github-actions[bot]

Not fixed afaict.

zblesk avatar Apr 23 '22 16:04 zblesk

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? If you require support or are requesting an enhancement or feature then please create a topic on the Joplin forum. This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions.

github-actions[bot] avatar May 25 '22 16:05 github-actions[bot]

Issue still persists.

zblesk avatar May 26 '22 20:05 zblesk

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? If you require support or are requesting an enhancement or feature then please create a topic on the Joplin forum. This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions.

github-actions[bot] avatar Jun 26 '22 16:06 github-actions[bot]

The issue still persists.

zblesk avatar Jun 28 '22 10:06 zblesk

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? If you require support or are requesting an enhancement or feature then please create a topic on the Joplin forum. This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions.

github-actions[bot] avatar Jul 28 '22 16:07 github-actions[bot]

The issue still persists.

zblesk avatar Jul 31 '22 11:07 zblesk

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? If you require support or are requesting an enhancement or feature then please create a topic on the Joplin forum. This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions.

github-actions[bot] avatar Aug 30 '22 16:08 github-actions[bot]

The issue still persists.

zblesk avatar Aug 30 '22 20:08 zblesk

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? If you require support or are requesting an enhancement or feature then please create a topic on the Joplin forum. This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions.

github-actions[bot] avatar Sep 30 '22 16:09 github-actions[bot]

The issue still persists.

zblesk avatar Oct 04 '22 11:10 zblesk

Issue still persists.

zblesk avatar Oct 11 '22 07:10 zblesk

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? If you require support or are requesting an enhancement or feature then please create a topic on the Joplin forum. This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions.

github-actions[bot] avatar Nov 10 '22 16:11 github-actions[bot]

Issue still persists.

zblesk avatar Nov 10 '22 19:11 zblesk

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? If you require support or are requesting an enhancement or feature then please create a topic on the Joplin forum. This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions.

github-actions[bot] avatar Dec 12 '22 16:12 github-actions[bot]

Issue still persists.

zblesk avatar Dec 12 '22 17:12 zblesk

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? If you require support or are requesting an enhancement or feature then please create a topic on the Joplin forum. This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions.

github-actions[bot] avatar Jan 12 '23 16:01 github-actions[bot]

Issue still persists.

zblesk avatar Jan 13 '23 15:01 zblesk

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? If you require support or are requesting an enhancement or feature then please create a topic on the Joplin forum. This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions.

github-actions[bot] avatar Feb 12 '23 16:02 github-actions[bot]

Issue still persists.

zblesk avatar Feb 13 '23 08:02 zblesk

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? If you require support or are requesting an enhancement or feature then please create a topic on the Joplin forum. This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions.

github-actions[bot] avatar Mar 16 '23 16:03 github-actions[bot]

Issue still persists.

zblesk avatar Mar 20 '23 09:03 zblesk

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? If you require support or are requesting an enhancement or feature then please create a topic on the Joplin forum. This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions.

github-actions[bot] avatar Apr 20 '23 16:04 github-actions[bot]