Issue 92904

Summary: Wrong (first) URL is displayed as tooltip abd executed when more hyperlinks in a cell
Product: Calc Reporter: lado <lada>
Component: uiAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Trivial    
Priority: P3 CC: issues, rainerbielefeld_ooo_qa
Version: OOo 2.4.1Keywords: oooqa
Target Milestone: ---   
Hardware: PC   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
Tooltip when mouse hovers over first hyperlink
none
Tooltip when mouse hovers over second hyperlink
none
Example of wrong tooltips - bug 92904. It is reproducible in 2.4.1 (Ubuntu) and 3.0.1 (Debian) at least.
none
even link does not work correctly none

Description lado 2008-08-19 12:23:14 UTC
Hi,

steps to reproduce:

1. in 1 Cell, insert 2 or more hyperlinks pointing to different URLs

2. the cell must be displayed in one line. I.e. not wrapped. Otherwise issue is
not seen

3. then hover mouse pointer over 2nd, 3rd,... URLs - they all show 1st URL.
Which is wrong.

Details:
If it is in more lines, then the URL tooltip is displayed correctly.

The issue is seen here, only 1st URL is displayed when mouse hovering all URLs:
   URL1 URL2 URL3

But URL tooltips are correctly displayed when fully wrapped, like here:
   URL1
   URL2
   URL3

But when it is only partially wrapped, it is half-wrong:
   URL1(correct) URL2(wrong)
   URL2(correct)

It seems, that only 1st URL on line in one cell is displayed.
Comment 1 Rainer Bielefeld 2009-03-12 17:40:50 UTC
I checked with "Ooo 3.0.1 (DE) Multilingual version GERMAN UI WIN XP: [OOO300m15
(Build 9379)]" and can NOT confirm the reported effect, same result with "2.4.1
 Multilingual version English UI WIN XP: [680m17(Build9310)]"

@lado:
Pls. attach a sample document!

Comment 2 majonis_joshua 2009-03-31 05:17:16 UTC
I could not replicate this with OO 2.4.1 on Ubuntu 8.10. I tried via the menu
(Insert|Hyperlink) and the Hyperlink toolbar.
Can you please post step-by-step instructions for replicating this bug?

I tried to replicate the bug using the following process:
(Insert the two instructional sections below)I could not replicate this with OO
2.4.1 on Ubuntu 8.10. I tried via the menu (Insert|Hyperlink) and the Hyperlink
toolbar.
Can you please post step-by-step instructions for replicating this bug?

I tried to replicate the bug using the following process:

1. Open calc, select a cell

2. From the menu, select Insert --> Hyperlink

3. Leave the category selection on 'Internet', type URL 'www.yahoo.com' in the
target field

4. Click 'Apply' and 'Close'. The contents of the cell read "http://www.yahoo.com/"

5. The URL in the cell is selected. Push the right cursor arrow once to deselect
the contents of the cell. Press the space bar.

6. From the menu, click Insert --> Hyperlink
Leave the category selection on 'Internet', type URL 'www.google.com in the
target field

7. Click 'Apply' and 'Close' The contents of the cell read
"http://www.yahoo.comhttp://www.google.com"

8. Move the mouse cursor over the cell. The tooltip changes accordingly when
moving from the Yahoo section to the Google section.

I'm attaching two screen shots of what the spreadsheet looked like after trying
to replicate this bug. 


Comment 3 majonis_joshua 2009-03-31 05:18:49 UTC
Created attachment 61293 [details]
Tooltip when mouse hovers over first hyperlink
Comment 4 majonis_joshua 2009-03-31 05:19:18 UTC
Created attachment 61294 [details]
Tooltip when mouse hovers over second hyperlink
Comment 5 lado 2009-04-01 00:10:58 UTC
I tried it, and it worked for me correctly, until...
...until I found original document.

I realized, that there is one more factor - you must have line horizontal
alignement set to center or right. In default (left) it is not visible.

It is still reproducible in my Debian's OOo 3.0.1.

I'm attaching example document, where you can see it - in file bug-92904-example.ods
Comment 6 lado 2009-04-01 00:12:33 UTC
Created attachment 61322 [details]
Example of wrong tooltips - bug 92904. It is reproducible in 2.4.1 (Ubuntu) and 3.0.1 (Debian) at least.
Comment 7 Rainer Bielefeld 2009-04-01 06:05:58 UTC
I checked with "Ooo 3.0.1 (DE) Multilingual version GERMAN UI WIN XP: [OOO300m15
(Build 9379)]" and can confirm the reported effect for "bug-92904-example.ods"
and own documents.
Comment 8 Rainer Bielefeld 2009-04-01 06:24:18 UTC
It's not only a tooptip problem, in "newsample.ods" even the wrong link will be
executed: in 'Align: center' and 'Right align' you will reach Google when you
click "wikipedia".
Comment 9 Rainer Bielefeld 2009-04-01 06:25:33 UTC
Created attachment 61326 [details]
even link does not work correctly