[Libreoffice-ux-advise] [Bug 141747] CROSS-REFERENCE: Give warning, if you delete a target of a cross-reference

2022-05-19 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=141747

Heiko Tietze  changed:

   What|Removed |Added

 CC|libreoffice-ux-advise@lists |
   |.freedesktop.org|

-- 
You are receiving this mail because:
You are on the CC list for the bug.

[Libreoffice-ux-advise] [Bug 141747] CROSS-REFERENCE: Give warning, if you delete a target of a cross-reference

2022-05-19 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=141747

--- Comment #12 from Heiko Tietze  ---
(In reply to Mike Kaganski from comment #11)
> Anyway, I'd propose instead to have some kind of "orphan links" list,
> ... when the orphaned items are found

The tricky part is to find it. That's why I suggested to have some warning
instead of nothing on orphaned fields.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

[Libreoffice-ux-advise] [Bug 141747] CROSS-REFERENCE: Give warning, if you delete a target of a cross-reference

2022-05-19 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=141747

--- Comment #11 from Mike Kaganski  ---
What to do with master documents? A master may include a reference to something
inside a sub-document. When you edit the sub-document individually, Writer has
no idea that the document *may* also be used inside some master(s).

Anyway, I'd propose instead to have some kind of "orphan links" list, populated
in the background (i.e., not being an immediate action for a key press,
potentially making work with document impossible - but something like word
count / spell check); when the orphaned items are found, there could be some
information shown to user (it could be an infobar; or an icon on status bar; or
whatever (not too intrusive) UX invents...), to allow them open and inspect the
orphaned list.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

[Libreoffice-ux-advise] [Bug 141747] CROSS-REFERENCE: Give warning, if you delete a target of a cross-reference

2022-05-19 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=141747

Heiko Tietze  changed:

   What|Removed |Added

 Ever confirmed|0   |1
   Keywords|needsUXEval |
 CC||heiko.tietze@documentfounda
   ||tion.org,
   ||mikekagan...@hotmail.com
 Status|UNCONFIRMED |NEW

--- Comment #10 from Heiko Tietze  ---
STR:
* File > New to have a fresh start
* Insert three page breaks
* Go to page 2 and insert an image; add a caption so we have a numbered figure
* On p1 add a cross ref to this figure showing the page number

1. cut the image (should be the same as delete)
-> LO Writer empties the cross-reference; the field remains but one wouldn't
know unless field shading is enabled
-> MS Word keeps the number
2. paste on p3
-> LO Writer: the empty field remains empty
-> MS Word: the reference still shows the previous page number

+ undo to get to the step after cut
3. Update fields
-> LO Writer: nothing happens, meaning the empty field stays empty
-> MS Word: the field text changes to a bold "Error! Bookmark not defined." 


If we could be smarter than MSO and update the field immediately after the
target changes keeping some temporary link so the reference is updated properly
after paste, it would be an advantage over competitors.

Showing an "empty" field seems to be a bug. But I could imagine that this has
been done intentionally for some reason. Maybe to avoid too many "Error:
Bookmark missing" annotations in the document ;-). In fact, we should show such
a text if the reference is dead-end.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

[Libreoffice-ux-advise] [Bug 141747] CROSS-REFERENCE: Give warning, if you delete a target of a cross-reference

2022-03-03 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=141747

QA Administrators  changed:

   What|Removed |Added

 Status|NEEDINFO|UNCONFIRMED
 Ever confirmed|1   |0

-- 
You are receiving this mail because:
You are on the CC list for the bug.

[Libreoffice-ux-advise] [Bug 141747] CROSS-REFERENCE: Give warning, if you delete a target of a cross-reference

2022-03-03 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=141747

--- Comment #9 from QA Administrators  ---
[Automated Action] NeedInfo-To-Unconfirmed

-- 
You are receiving this mail because:
You are on the CC list for the bug.

[Libreoffice-ux-advise] [Bug 141747] CROSS-REFERENCE: Give warning, if you delete a target of a cross-reference

2022-03-03 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=141747

--- Comment #8 from Christian Lehmann  ---
(In reply to Heiko Tietze from comment #7)
> The topic was on the agenda of the design meeting.
Thanks for the info.
> 
>+ the "Internet" recommends to search for "Reference source not found"

What does this mean? Such a search is _not_ possible in an ODT file!

>+ if reference and source are far away from each other, the information
>  might not be helpful; you probably have to clean up the broken reference
>  somewhere else- and jumping around in the document is unwanted

Reference and source are typically far away from each other; this is the whole
purpose of a reference. If a reference is broken because the user deleted the
target, only the user himself is in a position to fix the resulting error; and
he _will_ want to fix it, no matter how far away the reference is.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

[Libreoffice-ux-advise] [Bug 141747] CROSS-REFERENCE: Give warning, if you delete a target of a cross-reference

2022-03-03 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=141747

Heiko Tietze  changed:

   What|Removed |Added

 Status|NEW |NEEDINFO

--- Comment #7 from Heiko Tietze  ---
The topic was on the agenda of the design meeting.

   + the "Internet" recommends to search for "Reference source not found"
 + update is not reliable though
   + the only acceptable workflow is to immediately show an infobar or 
 any other non-interrupting message and to hide it once the reference
 is back (eg. after cut/paste)
   + continuously checking the status might be a performance issue
   + if reference and source are far away from each other, the information
 might not be helpful; you probably have to clean up the broken reference
 somewhere else- and jumping around in the document is unwanted
   + heavy editing potentially produces a large number of warnings
   + problem when user not hides the info, or when it comes up too often
   + double-check whether competitors do show such a warning

The decision was to check how competitors deal with the problem.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

[Libreoffice-ux-advise] [Bug 141747] CROSS-REFERENCE: Give warning, if you delete a target of a cross-reference

2022-03-01 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=141747

--- Comment #6 from Christian Lehmann  ---
(In reply to Christian Lehmann from comment #5)
> (In reply to Heiko Tietze from comment #4)
> > Coming back to this, sorry for the delay. My test scenario is a references
> > to a figure showing the page number. Now I cut the figure and paste it
> > somewhere else. The reference's link remains intact but the page number is
> > not shown anymore. 
> > 
> > But besides of this bug, how would you know whether the target is to be
> > pasted or deleted? I mean the suggested warning would show up anyway.
> > 
> > The actual problem of saving/printing a document with lost references is
> > clear to me. And if dealing with cut/delete while editing is not possible we
> > could show the infobar on opening.
> 
> Heiko, I am not sure that the distinction between cut out and delete is
> actually a problem. I have a test file with a numbered object and a
> reference to it. If I cut out the numbered object, the reference is changed
> to 'Error: Reference source not found'. As soon as I paste the object
> somewhere, the reference is updated.
> 
> There are two points at which the software could note the difference:
> a) Cutting out is a different operation from deletion. Put out a warning
> only if a numbered object to which there are references is deleted.
> b) If the user launches a Save operation, check if there are instances of
> 'Error: Reference source not found', and if so, warn the user and offer
> 'Cancel' (of the Save operation).

However, both of these warnings make sense only if the user can do a Find on
instances of 'Error: Reference source not found', which is a pending
desideratum, anyway.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

[Libreoffice-ux-advise] [Bug 141747] CROSS-REFERENCE: Give warning, if you delete a target of a cross-reference

2022-03-01 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=141747

--- Comment #5 from Christian Lehmann  ---
(In reply to Heiko Tietze from comment #4)
> Coming back to this, sorry for the delay. My test scenario is a references
> to a figure showing the page number. Now I cut the figure and paste it
> somewhere else. The reference's link remains intact but the page number is
> not shown anymore. 
> 
> But besides of this bug, how would you know whether the target is to be
> pasted or deleted? I mean the suggested warning would show up anyway.
> 
> The actual problem of saving/printing a document with lost references is
> clear to me. And if dealing with cut/delete while editing is not possible we
> could show the infobar on opening.

Heiko, I am not sure that the distinction between cut out and delete is
actually a problem. I have a test file with a numbered object and a reference
to it. If I cut out the numbered object, the reference is changed to 'Error:
Reference source not found'. As soon as I paste the object somewhere, the
reference is updated.

There are two points at which the software could note the difference:
a) Cutting out is a different operation from deletion. Put out a warning only
if a numbered object to which there are references is deleted.
b) If the user launches a Save operation, check if there are instances of
'Error: Reference source not found', and if so, warn the user and offer
'Cancel' (of the Save operation).

-- 
You are receiving this mail because:
You are on the CC list for the bug.

[Libreoffice-ux-advise] [Bug 141747] CROSS-REFERENCE: Give warning, if you delete a target of a cross-reference

2022-03-01 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=141747

--- Comment #4 from Heiko Tietze  ---
Coming back to this, sorry for the delay. My test scenario is a references to a
figure showing the page number. Now I cut the figure and paste it somewhere
else. The reference's link remains intact but the page number is not shown
anymore. 

But besides of this bug, how would you know whether the target is to be pasted
or deleted? I mean the suggested warning would show up anyway.

The actual problem of saving/printing a document with lost references is clear
to me. And if dealing with cut/delete while editing is not possible we could
show the infobar on opening.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

[Libreoffice-ux-advise] [Bug 141747] CROSS-REFERENCE: Give warning, if you delete a target of a cross-reference

2021-05-03 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=141747

--- Comment #3 from Christian Lehmann  ---
Okay for the reframed bug summary, except that, as I had suggested, support to
the user might be more than a mere warning. However, a warning would certainly
be a useful first step.

As for the operation of cutting a string out that contains a reference target,
presently this triggers the replacement of the references by the "Error:
Reference source not found". Normally, as soon as the string is pasted
elsewhere in the document, the references are updated. However, it is possible
that this does not always work; I have not checked for this.

For clarity's sake, it might be added that instead of cutting a numbered
paragraph out and pasting it elsewhere, you may wish to recommend the use of
the Navigator arrows "Promote/Demote chapter". However, this is practical only
under certain conditions which it would lead to far to explain here.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Libreoffice-ux-advise mailing list
Libreoffice-ux-advise@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-ux-advise


[Libreoffice-ux-advise] [Bug 141747] CROSS-REFERENCE: Give warning, if you delete a target of a cross-reference

2021-05-03 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=141747

Heiko Tietze  changed:

   What|Removed |Added

 CC||michael.st...@allotropia.de
   ||, vmik...@collabora.com
 Status|UNCONFIRMED |NEW
 Ever confirmed|0   |1

--- Comment #2 from Heiko Tietze  ---
Good idea. But I wonder what happens when you cut the target to paste it
somewhere else (guess this is the leading cause of trouble). Still show a
warning, perhaps non-interrupting as bubble/infobar?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Libreoffice-ux-advise mailing list
Libreoffice-ux-advise@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-ux-advise


[Libreoffice-ux-advise] [Bug 141747] CROSS-REFERENCE: Give warning, if you delete a target of a cross-reference

2021-05-03 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=141747

Dieter  changed:

   What|Removed |Added

Summary|EDIT: protect user from |CROSS-REFERENCE: Give
   |deleting reference source   |warning, if you delete a
   ||target of a cross-reference
 CC||dgp-m...@gmx.de,
   ||libreoffice-ux-advise@lists
   ||.freedesktop.org
   Keywords||needsUXEval
 Whiteboard| QA:needsComment|
 Blocks||107905

--- Comment #1 from Dieter  ---
Christian, thanks for your idea. We should avoid the word "object" here,
because objects are, shapes, charts,  but not heading. So let's better talk
about target of a cross reference => I updated bug summary and hope you agree

cc: Design-Team for further input and decision.


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=107905
[Bug 107905] [META] Cross-references bugs and enhancements
-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Libreoffice-ux-advise mailing list
Libreoffice-ux-advise@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-ux-advise