Notepad3 icon indicating copy to clipboard operation
Notepad3 copied to clipboard

Wrong selection context menu is shown if bookmark margin hidden

Open jupester opened this issue 2 years ago • 1 comments

I have also noticed in v5.22.902.1 beta that if the bookmark margin is hidden I don't get the normal selection context menu, instead the margin context menu is shown.

Repro Steps:

  1. Launch NP3 (default settings)
  2. Ctrl+Shift+M (hide margin)
  3. input any ~~text~~ word into document eg. blahblah
  4. Ctrl+A (select all)
  5. Right click selection.
  6. Result = Margin Context menu shown instead of normal context menu

jupester avatar Sep 11 '22 03:09 jupester

Hello @jupester ,

I can not reproduce "exactly" your issue but a variant:

  1. Select 1 word (instead of Select all)
  2. Right click selection.
  3. Result = Margin Context menu is showed instead of Normal Text context menu

2022-09-11_092713

Also, when Bookmark margin is hidden:

  • A Right click in the margin shows always Normal Text context menu instead of Margin Context menu.

2022-09-11_093255

hpwamr avatar Sep 11 '22 07:09 hpwamr

Right-Click on line-number margin should work like default (text right-click), other margins should open margin context-menu). (1st is recommended to preserve behaviour of marking lines by click and draw).

RaiKoHoff avatar Sep 24 '22 13:09 RaiKoHoff

Hello @jupester ,

Feel free to test the "BETA/RC PortableApps", version "Notepad3Portable_5.22.926.1_beta.paf" or newer, see 1st list in issue #1129.

"Notepad3Portable BETA/RC PortableApps" version can be used with or without ".7z" extension.

Also, feel free to test the "BETA/RC Setup", version "Notepad3_5.22.926.1_beta_Setup" or newer, see the 2nd list in issue #1129.

Comments and suggestions are welcome... 😃

hpwamr avatar Sep 26 '22 08:09 hpwamr

The original issue is still present for me, with bookmark margin hidden, select a word in document and right click it, still displays the margin context menu.

jupester avatar Sep 26 '22 21:09 jupester

The original issue is still present for me, with bookmark margin hidden, select a word in document and right click it, still displays the margin context menu.

You're right !

I can not reproduce "exactly" your issue but a variant:

  1. Select 1 word (instead of Select all)
  2. Right click selection.
  3. Result = Margin Context menu is showed instead of Normal Text context menu

2022-09-11_092713

hpwamr avatar Sep 26 '22 21:09 hpwamr