[Solved] Selection direction for footnote changes menus

Help with installation and general system troubleshooting questions concerning the office suite LibreOffice.
Locked
User avatar
CannedMan
Posts: 256
Joined: Wed Aug 04, 2010 12:06 am

[Solved] Selection direction for footnote changes menus

Post by CannedMan »

Footnote selection.
Footnote selection.
Bilde_2024-05-29_154311104.png (9.91 KiB) Viewed 8786 times
I have found that which menu options I get when selecting a footnote, changes depending on whether I select it left to right or right to left.

Selecting left to right, I get this menu:
Menu options selecting footnote left to right.
Menu options selecting footnote left to right.
Bilde_2024-05-29_154415661.png (11.39 KiB) Viewed 8786 times
Menu options: Cut, Copy, Paste, Paste selection; Clone formatting, Remove direct formatting, Characters, Paragraph, List; Insert comment; Page style.

Selecting right to left, I get this menu:
Menu options selecting footnote right to left.
Menu options selecting footnote right to left.
Bilde_2024-05-29_154708510.png (11.38 KiB) Viewed 8786 times
Cut, Copy, Paste, Paste selection; Footnotes and endnotes; Clone formatting, Remove direct formatting, Characters, Paragraph, List; Insert comment; Page style

Now, getting different options based on whether you go Shift + → or Shift + ← certainly is not intuitive, and I cannot think that this is anything but a bug.
Last edited by MrProgrammer on Mon Jun 17, 2024 9:12 pm, edited 3 times in total.
Reason: Remove [Bug], since this isn't an accepted [Issue]
LibreOffice 7.6.7.2 (X86_64) on Windows 10.0 (19045)
User avatar
Hagar Delest
Moderator
Posts: 33681
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: [Bug] Direction of selecting footnote changes menu options

Post by Hagar Delest »

Then you should report it: [Tutorial] Reporting bugs or suggestions.
Same with LibreOffice, it depends on the "last" active character. Or the position of the cursor when there is no selection (right click for example).
Not sure it's that problematic anyway.
LibreOffice 25.2 on Linux Mint Debian Edition (LMDE 7 Gigi) and 25.2 portable on Windows 11.
JeJe
Volunteer
Posts: 3134
Joined: Wed Mar 09, 2016 2:40 pm

Re: [Solve][Bug] Direction of selecting footnote changes menu options

Post by JeJe »

This is LibreOffice and it doesn't look like a bug but design - the menu has the footnote option if the flashing viewcurser is at the beginning of the footnote number. It is the ordinary text menu if at the end of the footnote number (Edit i.e. at the beginning of some ordinary text). This is regardless of whether the number is selected or the viewcursor is instead collapsed.
Windows 10, Openoffice 4.1.11, LibreOffice 7.4.0.3 (x64)
Bill
Volunteer
Posts: 8952
Joined: Sat Nov 24, 2007 6:48 am

Re: [Solve][Bug] Direction of selecting footnote changes menu options

Post by Bill »

This isn't a bug. When the insertion point is before the footnote, an option to edit the footnote is added to the context menu. This option does not appear when the insertion point is after the footnote. The behavior is similar to fields which also show an option in the context menu to edit the field only when the insertion point is before the field.
AOO 4.1.14 on Ubuntu MATE 22.04
User avatar
CannedMan
Posts: 256
Joined: Wed Aug 04, 2010 12:06 am

Re: [Solved][Bug] Direction of selecting footnote changes menu options

Post by CannedMan »

What I described was not having the insertion point before or after, but selecting the note from before or after, i.e. I selected the footnote (I tend to use keys rather than the mouse for this), then opened the context menu; I did not open the context menu by simply putting the pointer at a specific point (though I do understand that it will act differently based on where the pointer is, no text selected, when the context menu is opened)
Last edited by CannedMan on Sun Jun 09, 2024 2:35 am, edited 1 time in total.
LibreOffice 7.6.7.2 (X86_64) on Windows 10.0 (19045)
JeJe
Volunteer
Posts: 3134
Joined: Wed Mar 09, 2016 2:40 pm

Re: [Solve][Bug] Direction of selecting footnote changes menu options

Post by JeJe »

Its not a bug, its the design. You want it to know that you've selected only the footnote number and go by that.

But the selection could be any length and have various contents - so they're showing the menu depending on where the viewcursor is and what immediately follows it.

If you select the text in front of the footnote number ending in front of the number the menu will include the footnote entry. The selection is always ignored.
Windows 10, Openoffice 4.1.11, LibreOffice 7.4.0.3 (x64)
User avatar
CannedMan
Posts: 256
Joined: Wed Aug 04, 2010 12:06 am

Re: [Solved][Bug] Direction of selecting footnote changes menu options

Post by CannedMan »

Alright, that does make sense. It is confusing when you encounter it, but I understand why it is the way it is. At first, I thought it would make more sense to me as an end user, if the cursor was considered to be wherever the selection is, but of course, if you select anything more than just a few characters, that can quickly get waaaay out of hand, especially memory-wise. I am trying to think of some way that this (what is going on) could be better communicated to the user via the graphical output, but I can’t think of anything. Maybe something along the lines of if and only if everything selected to the user would look like it is all the same kind of data, then the context menu should reflect that, but I can see that that would get very difficult to delimit.
LibreOffice 7.6.7.2 (X86_64) on Windows 10.0 (19045)
Locked