https://bugs.freedesktop.org/show_bug.cgi?id=44812

             Bug #: 44812
           Summary: Sort ignores links from local url buttons to cells in
                    the sorted range
    Classification: Unclassified
           Product: LibreOffice
           Version: LibO 3.4.3 release
          Platform: x86 (IA32)
        OS/Version: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Libreoffice
        AssignedTo: libreoffice-bugs@lists.freedesktop.org
        ReportedBy: and...@laposte.net


(Note 1 : my version of Libreoffice is in french, so the names given may not be
exact translations.)
(Note 2 : would expect this bug to affect all hardware and os.)

If there is a table with links to various cells of the table from url buttons,
and the table is sorted, the links are not changed to correspond to the new
cell positions.

case 1) First I tried direct relative url links to specific buttons.
Inserting lines or rows properly adjusted the links.
To this point the url buttons all worked properly.
Sorting the table left the links pointing to the same position in the table, so
they became corrupted.  (No longer pointing to the appropriate cells.)

case 2) Then I tried creating named ranges to the single cells in question,
associating the url buttons with the named ranges.
The routine to create/modify the links insisted on creating absolute links. 
However, inserting lines or rows properly adjusted the links used by the url
buttons.
To this point the url buttons all worked properly.
Sorting the table left the named ranges to the same position in the table, so
they became corrupted.  (No longer pointing to the appropriate cells.)

3) Note that in both cases, the url buttons still followed the links, but they
pointed to the original positions, and not the new positions of the concerned
cells.

4) What was expected :
The links would point to the same cells in their new positions in the table.

5) Note that if case 2 worked, it would work for any link (external or local),
as the name is maintained locally.
However case 1 is easier for the user to code, since links to the local cells
are made directly, without the need to create named ranges.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to