Bug 63137 - Index entry disappears on edit
Summary: Index entry disappears on edit
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.0.1.2 release
Hardware: x86 (IA32) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-04 22:00 UTC by Dave Nadler
Modified: 2015-04-18 15:35 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Illustrates disappearing index entry (25.18 KB, application/vnd.oasis.opendocument.text)
2013-04-04 22:00 UTC, Dave Nadler
Details
Illustrates disappearing index entry (25.18 KB, application/vnd.oasis.opendocument.text)
2013-04-04 22:01 UTC, Dave Nadler
Details
camera pictures showing steps (2.69 MB, image/jpeg)
2013-04-06 14:04 UTC, Dave Nadler
Details
context menu image (505.42 KB, image/jpeg)
2013-04-06 14:46 UTC, Dave Nadler
Details
edit index entry dialog initial view (461.75 KB, image/jpeg)
2013-04-06 14:47 UTC, Dave Nadler
Details
edit index entry dialog aftr clicking UP arrow (678.73 KB, image/jpeg)
2013-04-06 14:47 UTC, Dave Nadler
Details
image showing highlighted paragraph missing the index entry after clicking OK (382.01 KB, image/jpeg)
2013-04-06 14:48 UTC, Dave Nadler
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dave Nadler 2013-04-04 22:00:37 UTC
Created attachment 77450 [details]
Illustrates disappearing index entry

Open example file.
Right click on index entry at beginning of line "FLARM task declaration sometimes fails" and choose "Index Entry..."
Change level to 3
Click on "OK"

At this point paragraph is highlighted and index entry has disappeared.

Now try the clicking the arrows for previous/next index entries.
Additional index entries will be destroyed...


The index entries in this document were created as you see
because there's no support for "Run-in headers": Where
the initial part of a paragraph is used as an index entry and
formatted differently...

Thanks !
Best Regards, Dave
Comment 1 Dave Nadler 2013-04-04 22:01:33 UTC
Created attachment 77451 [details]
Illustrates disappearing index entry
Comment 2 A (Andy) 2013-04-06 09:49:28 UTC
Could you please give more information to reproduce this issue.

You wrote "choose 'Index Entry...'".  Do you mean that I have to do a right mouse click and then have to choose EDIT INDEX/TABLE?
Furthermore, you wrote "Change level to 3".  Do you mean to go the tab ENTRIES and change there the level to 3?
If I do that, then nothing happens?

In addition, you wrote "Now try the clicking the arrows for previous/next index entries."  Could you please give more information how this can be reproduced.  Which arrows do you mean?

Thank you very much.
Comment 3 retired 2013-04-06 10:05:28 UTC
Dave: after adding the requested info, please set the bug back to UNCONFIRMED. Thanks :)
Comment 4 Dave Nadler 2013-04-06 11:59:55 UTC
1) Open example file.

2a) Right click on gray area (indicating index entry field) at beginning of line "FLARM task declaration sometimes fails"

2b) Click on "Index Entry..."

3) In the "Edit Index Entry" dialog
3a) click on the "up arrow" to change level of index entry to 3
3b) Click on "OK"

BUG: At this point paragraph is highlighted and index entry has disappeared.

4) Now try the clicking the arrows for previous/next index entries.
Additional index entries will be destroyed...


The annoying index entries in this document were created because there's no support for "Run-in headers" (Where the initial part of a paragraph is used as an index entry and formatted differently, but the text runs on from the heading)...


Thanks !
Best Regards, Dave
Comment 5 A (Andy) 2013-04-06 12:48:15 UTC
@Dave: Thanks for your fast reply.
But unfortunately I still have problems to reproduce it (LO 4.0.2.2 [Win7 Home, 64bit]).

What I have done:
Step 1: Open WRITER
Step 2: Open the attached document
Step 3: Right mouse click on the gray area at the beginning of the line "FLARM task declaration sometimes fails" and go to EDIT INDEX/TABLE in the context menu
Note: I do not have a menu item "Index Entry..." in the context menu.  Do you have such an item?
Step 4: Go to the tab ENTRIES and choose Level 3
Note: I do not have here any up or down arrows.  Therefore, I can't reproduce your step 4.

Result: Nothing happens.
Therefore, there must be a misunderstanding.  Could you please check the steps once more and give a feedback where is the wrong step/misunderstanding.
Comment 6 Dave Nadler 2013-04-06 14:03:06 UTC
The exact text of the context menu line is "Index Entry..." with "x" underlined, displayed above the context menu line "Edit Paragraph Style..."

Unfortunately I can't get a screen shot as the context menu disappears as soon as I move focus to a different window...

Please find attachments showing steps using a camera !!!

Thanks,
Best Regards, Dave
Comment 7 Dave Nadler 2013-04-06 14:04:33 UTC
Created attachment 77525 [details]
camera pictures showing steps
Comment 9 Dave Nadler 2013-04-06 14:46:37 UTC
Created attachment 77527 [details]
context menu image
Comment 10 Dave Nadler 2013-04-06 14:47:17 UTC
Created attachment 77528 [details]
edit index entry dialog initial view
Comment 11 Dave Nadler 2013-04-06 14:47:54 UTC
Created attachment 77529 [details]
edit index entry dialog aftr clicking UP arrow
Comment 12 Dave Nadler 2013-04-06 14:48:46 UTC
Created attachment 77530 [details]
image showing highlighted paragraph missing the index entry after clicking OK
Comment 13 Dave Nadler 2013-04-06 14:49:37 UTC
I compressed images of steps and uploaded JPEGs into BugZilla...
Comment 14 A (Andy) 2013-04-06 17:01:04 UTC
@Dave: Thank you very much for the screenshots.

This explains now one misunderstanding by me.  I understood that you mean in your step 2a the gray index area on page 1.
On page 3 I have now this menu item INDEX ENTRY... in the context menu und there I can change it to level 3.

Result: This paragraph is highlighted and is no longer an index entry.  After updating the index on page 1 this entry also disappears here.
But, I can't open the "Edit Index Entry" dialog to reproduce this.  Where can I find it?
This issue has to be investigated once more in more detail.

@Rainer: Can you maybe take a look at it, whether you can reproduce it?
Comment 15 Dave Nadler 2013-04-06 17:43:08 UTC
Sorry, I don't understand your question ?
The context menu will not show "Index Entry" after it was destroyed.

Also, make sure to try moving between index entries with the arrow keys as this will clobber additional index entries.

Hope this helps !
Best Regards, Dave
Comment 16 A (Andy) 2013-04-07 14:34:00 UTC
Correct, I can confirm the context menu will no longer show INDEX ENTRY after it was destroyed.

I can also confirm that if you move between the index entries with the arrow keys it will clobber additional index entries.  To reproduce this you need to use the large arrows in the bottom right, not the small arrows next to the LEVEL field.
Comment 17 Gordo 2015-04-18 15:35:53 UTC
Could not reproduce.  I was able to change the level from 2 to 3 and all index entries were preserved when using the previous/next arrows.

Windows Vista 64
Version: 4.4.2.2
Build ID: c4c7d32d0d49397cad38d62472b0bc8acff48dd6

Changed to RESOLVED WORKSFORME.