Issue 51944 - Insert hyperlink with pushbutton does not work after save
Summary: Insert hyperlink with pushbutton does not work after save
Status: CONFIRMED
Alias: None
Product: Writer
Classification: Application
Component: editing (show other issues)
Version: OOo 2.0 Beta
Hardware: PC All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords: needmoreinfo, oooqa
Depends on:
Blocks:
 
Reported: 2005-07-14 11:12 UTC by psolanti
Modified: 2013-08-07 14:38 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
This hyperlink pushbutton example (736 bytes, text/html)
2005-07-14 14:34 UTC, psolanti
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description psolanti 2005-07-14 11:12:28 UTC
Inserting hyperlink using push button does not add the HREF statement into the
html code. In the Insert hyperlink window the "button" is not active, unless you
switch the target a couple of times. When it finally accepts the button, it
doesn't generate the HREF statement in the html code. In WinXP there is a
workaround to create first the text link and change it to button. In Linux tehre
is no way to get the buttons to work.
Comment 1 michael.ruess 2005-07-14 11:41:03 UTC
Reassigned to ES.
Comment 2 eric.savary 2005-07-14 13:21:20 UTC
I couldn't reproduce what you describe.
Especially, there is no defference between Windows and Linux.

Please describe step by step what you do, get and expect.

Please, keep in mind:
- Concerning the problem(s):
1) Push buttons, in HTML, are part of a FORM which uses a VALUE attribute, not
an A HREF tag
2) to be active in OOo, a form must be in active mode, not in design mode (default)

- Concerning the bug handling:
1) 1 problem = 1 issue. We cannot accept multiple problems issues.
2) We have no ressources to maintain the HTML module, so that we only can handle
crashes and huge regressions.
3) please always use the latest developper build to report bugs. OOo 2 Beta is
too old.
Comment 3 psolanti 2005-07-14 14:34:43 UTC
Created attachment 27920 [details]
This hyperlink pushbutton example
Comment 4 psolanti 2005-07-14 14:41:51 UTC
I am using OpenOffice.org 1.9.113. Sorry for the confusion.

I created a small test example, which I attached to thi issue. I opened a new
html document, wrote some text and inserted a hyperlink URL with button. The
pushbutton appears in the document, but if I open the file with firefox, the
pushbutton doesn't cause any action.

I'll open another issue for the menu problem.
Comment 5 eric.savary 2005-08-01 08:26:46 UTC
ES->AMA: to work correctly, the insertion of an hyperlink Pushbutton should add
onClick="self.location.href='<complete_url>' to the code.
Comment 6 dproske 2005-10-11 15:01:22 UTC
This is still happening in RC2! Here are steps to recreate:
insert hyperlink for target put any address (http://openoffice.org)next to form
click down arrow and choose button type in Text the text for the button (Open
Office) and in Name give the button a name (opennofficebutton) click apply and
then click close.Click file save as html give a name (test.html)click save.(Get
warning about formatting Why? therre is nothing in here that HTML can not handle!)
Click yes  and open test.html. See button is there but does hyperlink to
openoffice.org! See actual HTML generated below.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
	<META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=windows-1252">
	<TITLE></TITLE>
	<META NAME="GENERATOR" CONTENT="OpenOffice.org 2.0  (Win32)">
	<META NAME="AUTHOR" CONTENT="David Proske">
	<META NAME="CREATED" CONTENT="20051011;8483139">
	<META NAME="CHANGEDBY" CONTENT="David Proske">
	<META NAME="CHANGED" CONTENT="20051011;8565417">

	<STYLE>
	<!--
		@page { size: 8.5in 11in; margin: 0.79in }
		P { margin-bottom: 0.08in }
	-->
	</STYLE>
</HEAD>
<BODY LANG="en-US" DIR="LTR">
<FORM NAME="Standard">
	<P STYLE="margin-bottom: 0in"><INPUT TYPE=BUTTON NAME="PushButton" VALUE="Open
Office" STYLE="width: 1.46in; height: 0.21in"></P>
</FORM>
</BODY>
</HTML>
Comment 7 ace_dent 2008-05-15 00:23:48 UTC
This Issue requires more information ('needmoreinfo'), but has not been updated
within the last year. Please re-test with one of the latest versions of OOo -
the problem(s) may have already been addressed. Either use the recent stable
version: http://download.openoffice.org/index.html
or consider trying the new OOo 3 BETA (still in testing):
http://download.openoffice.org/3.0beta/

Please report back the outcome so this Issue may be closed or progressed as
necessary - otherwise it may be Resolved as Invalid in the future. You may also
wish to search for (and note) any duplicates of this Issue that may have
advanced further :
http://www.openoffice.org/issues/query.cgi

Many thanks,
Andrew

Cleaning-up and Closing old Issues as part of:
~ The Grand Bug Squash, pre v3 ~