Recent

Author Topic: set bookmark menu disappeared  (Read 1024 times)

Paolo

  • Hero Member
  • *****
  • Posts: 510
set bookmark menu disappeared
« on: March 19, 2022, 11:21:52 am »
Hello,

here Laz 2.2.0, FPC 3.2.2, win 10pro

see picture , the popup menu is not showing anymore the set and goto bookmark!

in the picture on the left Laz 2.0.12 is ok, on the right laz 2.2.0 is not ok,

how to resume the old menu ?

thank you

dseligo

  • Hero Member
  • *****
  • Posts: 1221
Re: set bookmark menu disappeared
« Reply #1 on: March 19, 2022, 11:59:26 am »
Above Debug you have File Settings and then you have Goto Bookmark.
I don't know if it can be moved to first level in menu.

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 9867
  • Debugger - SynEdit - and more
    • wiki
Re: set bookmark menu disappeared
« Reply #2 on: March 19, 2022, 03:25:28 pm »
No, idea how it went into "file settings". But I am quite certain that was not intended. In other words: It's a bug.

Also not sure why the "set bookmark" disappeared.
But I have a feeling it's related to: https://gitlab.com/freepascal.org/lazarus/lazarus/-/issues/35883 and https://gitlab.com/freepascal.org/lazarus/lazarus/-/issues/39540

You may either add a note to those reports, or open a new issue. I would open a new issue => at least for the part that the menu has moved into "file settings". And the add a note about the disappearance to the existing issue (the one that is still open).

In any case (new issue and/or add note), you should provide the following:
- Do you use the editor-toolbar?
  If yes, does your editor-toolbar have a button (drop down) for setting bookmarks? Or for goto bookmarks?
- Do you have any such button (drop down) for bookmarks in your "IDE cool-bar"?
   (I.e. in the main IDE-bar below the main-menu, where you have the load, save tool-buttons / and the run,step tool buttons)

Also, if any of the above questions gets a "yes", can you check the editor-popup-menu immediately after starting the IDE? (That is before you use any other menu, and before you use any other toobutton or drop-down)





Potential workaround:

Menu: Tools > Options > Editor > Keymap.

In the section "Text Bookmark commands" (For me that is the 9th section, after "folding"), find the entry "Goto Bookmark ...".
Assign a key-shortcut of your choice. (I am using ctrl-B)

Now you should be able to open the "set bookmark" menu via keyboard. (It will usually pop-up at the upper left corner of the current editor.



Paolo

  • Hero Member
  • *****
  • Posts: 510
Re: set bookmark menu disappeared
« Reply #3 on: March 19, 2022, 04:03:18 pm »
Hi Martin,

give me time to try what you suggest, what I have alredy done is shown in the attached picture

Paolo

  • Hero Member
  • *****
  • Posts: 510
Re: set bookmark menu disappeared
« Reply #4 on: March 19, 2022, 04:38:36 pm »
the situation is even worse, if I start Lazarus then click on the button in the toolbar (the button with drop down list of bookmark, I post previously) I see what is reproted in the picture. And Lazarus Crash.

Paolo

  • Hero Member
  • *****
  • Posts: 510
Re: set bookmark menu disappeared
« Reply #5 on: March 19, 2022, 05:18:00 pm »
Now seems ok, no crash, I'll check better

Paolo

  • Hero Member
  • *****
  • Posts: 510
Re: set bookmark menu disappeared
« Reply #6 on: March 19, 2022, 05:50:28 pm »
it can happen again, it seems something close to "https://gitlab.com/freepascal.org/lazarus/lazarus/-/issues/39540" and lazarus crashes, first with divsion by 0 then Lazarus goes down completely and another kind of error is shown (accesss Violation) ! what  I did : put one bookmark, then just click on the button with dropdown menu.

 

TinyPortal © 2005-2018