Issue 18584 - Java requirement can NOT be overridden on install
Summary: Java requirement can NOT be overridden on install
Status: CLOSED FIXED
Alias: None
Product: Installation
Classification: Application
Component: code (show other issues)
Version: OOo 1.1 RC3
Hardware: PC Windows 98
: P3 Trivial with 1 vote (vote)
Target Milestone: OOo 1.1.1
Assignee: Olaf Felka
QA Contact: issues@installation
URL:
Keywords:
: 19318 (view as issue list)
Depends on:
Blocks:
 
Reported: 2003-08-24 17:34 UTC by grsingleton
Modified: 2004-01-28 09:45 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description grsingleton 2003-08-24 17:34:15 UTC
I tried to install rc3 on my daughter's laptop today. It has no java. Rc3 popped
up a message box saying that installing without java would limit features. I
clicked OK and the install without radio button was blanked and we went in
circles. Is there some secret way to get the install to work without java that I
am missing. I selected standard and custom local installs in both tests.

I have set this at P! as it could be a stopper.
Comment 1 grsingleton 2003-08-24 17:38:11 UTC
Selected code for subcomponent as other choices seemed inadequate.
Feel free to change this.
Comment 2 grsingleton 2003-08-25 02:47:33 UTC
I have read the FAQ. I know how to do java. The installation program
is broken.
Comment 3 Olaf Felka 2003-08-25 08:59:35 UTC
I can't reproduce: Selecting 'Do not use....' brings up the message
box 'Some functionality....'. Klicking on >ok< in this messagebox and
the >ok< button in java setup is enabled and setup is running fine.
Comment 4 Olaf Felka 2003-08-25 09:02:25 UTC
Not reproducible.
Comment 5 grsingleton 2003-08-25 13:04:58 UTC
Wonderful! We know that it OUGHT to work. However, there's soemthing
in the code that causes it to fail under M$W98SE. As I explained, I
first tried a full install (1U) and when it failed to find Java, I
stopped the process and tried again from scratch. One the second
attempt, I tried the "Recommended" install which, I think, leaves out
xlst and friends so no java should be needed. However install again
found no java install and upon selecting so I clicked "ok" proceeded
to select the "no java" button and install promptly blanked the the
"no java" radio button and demanded the java be installed. This is not
the behaviour of a well constructed program. So if java is a
requirement under the circumstances I have described then selecting
"no java" should reset things so that install can proceed. I perceive
that the process you used assumes prior knowledge that is not well
documented and is certainly not intuitive.

I am re-opening the bug.
Comment 6 grsingleton 2003-08-25 13:06:45 UTC
Improper methodology is no reason to state unconfirmed. If this occurs
on release, we got a problem.
Comment 7 Olaf Felka 2003-08-25 14:22:48 UTC
So what's the problem here? OOo setup starts with 'used an
installed...'. That's ok, if java has been detected it will be
displayed, if not, the user has the opportunity to browse to a usable
java location. If there is no java, the user can set the radio button,
he get's a warning and can go on.
Comment 8 grsingleton 2003-08-25 15:02:10 UTC
I don't understand. You insist that it offers a chance to go on. IT
DOES NOT! The install loops between looking for java, saying it can
find it via a popup, you click okay, you select install without, a
popup comes up saying you lose functionality, you click ok, install
blanks the no java radio button and refuses to go on.

If oo.org did what you claim then there'd be no problem. That is does
not do what you claim is the problem. What's so hard to understand? We
are talking apples and oranges and must meet on common ground.
Comment 9 Olaf Felka 2003-08-25 15:12:52 UTC
No matter for screaming around here.
On my Win98 machine it behaves as descibed by me. Java setup starts
'use an installed...' and if I choose 'Don't use java...' setup goes
on, the >ok< button in java setup is enabled.
Comment 10 grsingleton 2003-08-25 15:30:10 UTC
Windows 98 is not windows 98 SE, agreed. I thought I specified this.
It was a raw install so no java. Please try it. Perhaps in your case
there is register variable that permits install to work. In my it did
not. Anyways I have neither the time nor energy to pursue this issue.
Please do what you want. I would hate to see this appear in subsequent
releases.
Comment 11 Olaf Felka 2003-08-25 15:41:06 UTC
I have taken the time and I've checked on Win98 SE, WinME, Win2000, XP
and Linux and I can't reproduce. What else shall I do?
Comment 12 grsingleton 2003-08-25 15:53:35 UTC
Whatever, I have changed the status. If it bites later ...
Comment 13 grsingleton 2003-08-25 16:01:00 UTC
No need to go on. I accept that this will not be fixed.
Comment 14 rblackeagle 2003-08-26 03:05:57 UTC
I had no problems with linux and RC3, but I wasn't trying a laptop
(what kind).  Did you do a setup.exe -net before running a straight
setup.exe?  I am just guessing it would be the cause of the problem. 
But I am a mere user, not a developer.  Because OOo has installed
without a hitch for so long, I assume it has something to do with the
fact that you used a laptop.

Did the developer test with a laptop and Windows 98?  Perhaps the
combination has something to do with it.
Comment 15 grsingleton 2003-09-09 19:42:24 UTC
This is the same 19318. Reopening.
Comment 16 grsingleton 2003-09-09 19:42:48 UTC
Reopening for real this time
Comment 17 grsingleton 2003-09-09 19:44:25 UTC
Please close 19318 as a duplicate and update the status.
Comment 18 Olaf Felka 2003-09-10 09:02:41 UTC
*** Issue 19318 has been marked as a duplicate of this issue. ***
Comment 19 Olaf Felka 2003-09-10 10:05:30 UTC
I've checked again with RC4 on Win98SE and still can't reproduce. Is
there any chance to see in the code why this might happen?
Comment 20 grsingleton 2003-09-10 13:01:20 UTC
I can only describe the platform on which this occurs. I do so because
I think there may be a relationship to the hardware.

My daughter's laptop is an old Acer (TI) with 64Mb of memory. It's not
at hand but I believe it's a Pentium2 @ 166 MHz. Lot's of disc (3 Gb)
running windows 98 SE with no updates. RC3 image md5sum matches the on
the download page.

This is the best I can do from memory; however the looping is
repeatable. Please ask for more info on this and the other system. 

Is the problem in the sources, probably, but it's tickled by the
target configuration is the nearest I can get at this point.
Comment 21 dirk.voelzke 2003-09-10 13:05:57 UTC
There is an error in the focus handling of message boxes called from
modal dialogs.
Comment 22 dirk.voelzke 2003-09-10 13:21:26 UTC
To grsingleton:

could you please check if the problem disappears when you use the
keyboard to select the 'don't use java' button?

Thanks, Dirk
Comment 23 stephan_schaefer 2003-09-10 15:30:10 UTC
The following code snippet in winproc.cxx will fix this 'modal dialog'
bug. It should not be possible to activate a disabled dialog. I'll
check this in as soon as I have a PP1 workspace.

           BOOL bHandled = FALSE;
           if ( mpFrameData->mpFocusWin->IsInputEnabled() )
           {
               if ( mpFrameData->mpFocusWin->IsEnabled() )
               {
                   mpFrameData->mpFocusWin->GrabFocus();
                   bHandled = TRUE;
               }
               else if( mpFrameData->mpFocusWin->ImplHasDlgCtrl() )
               {
               // #109094# if the focus is restored to a disabled
dialog control (was disabled meanwhile)
               // try to move it to the next control
                   mpFrameData->mpFocusWin->ImplDlgCtrlNextWindow();
                   bHandled = TRUE;
               }
           }
           if ( !bHandled )
           {
               ImplSVData* pSVData = ImplGetSVData();
               Window*     pTopLevelWindow =
mpFrameData->mpFocusWin->ImplGetFirstOverlapWindow();
               if ( !pTopLevelWindow->IsInputEnabled() &&
pSVData->maWinData.mpLastExecuteDlg )
                   pSVData->maWinData.mpLastExecuteDlg->ToTop(
TOTOP_RESTOREWHENMIN | TOTOP_GRABFOCUSONLY);
               else
                   pTopLevelWindow->GrabFocus();
           }
Comment 24 grsingleton 2003-09-10 15:56:28 UTC
I will be able to check tonight when I meet with my daughter. I have
only rc3 with which to check. Is this a problem?
http://distribution.openoffice.org/cdrom/
Comment 25 dirk.voelzke 2003-09-11 08:16:00 UTC
To grsingleton:

Testing with RC 3 is ok. For me it looks like you somehow produced two
mouse click events. At least this has been the only way for me to
reproduce your bug. So if selecting 'no java' with the keyboard works,
we have found ( and fixed ) your bug.

Thanks, Dirk
Comment 26 grsingleton 2003-09-11 13:36:16 UTC
I looked at the code snippet and would agree. I was not able to get
the laptop yesterday but will test asap. Is the weekend too late?
Comment 27 grsingleton 2003-09-22 02:06:35 UTC
I have not been able to get my hands on the offending laptop. Please
bear with me.
Comment 28 stephan_schaefer 2003-10-22 10:51:19 UTC
Fixed in CWS vcl7pp1r3.
Comment 29 grsingleton 2003-11-05 16:01:50 UTC
Just a quick note to say that the workaround worked. I look forward to
1.1.1.

BTW, I have pointed a linux user at this issue and the workaround
worked for him also. Here's a copy of his last message:

On Wed, 05 Nov 2003 09:52:08 -0500, G. Roderick Singleton
<grsingleton@openoffice.org> wrote:

>>>>>> I click the button again and get the same error.  There is no
way out
>>>>>> other than to cancel the installation.
>>>>>>
>>>>>> I tried to install Java and it just locks up my machine just
after it 
>>>>>> says it is doing a checksum.
>>>>>>
>>>>>> Is it possible to install OpenOffice on Linux without Java being 
>>>>>> installed?
>
>> 
>> Maybe maybe not. http://www.openoffice.org/issues/show_bug.cgi?id=18584
>>

Going through the installation not using my mouse worked.  What needs
to be done as a followup?

This system is as follows:

Operating System: Slackware 9.0
Motherboard: Epox 8K7A+
Processor: AMD Athlon
Memory: 512MB
Window System: FVWM2
glibc Version: 2.3.1
Mouse: Logitech Optical Mouse (Has a USB connector on the end of the
cord.  It came with a USB-PS2 adapter and that is what I am using.) 

I can get additional information if needed.

I also tried another download site and had the same problem as before.

Is it possible the mouse is the problem?  I have had several lockups
with both Linux and Windows 2000 when clicking on web pages, etc.
These are total lockups and nothing can get the machine back except to
hit the Reset switch.

I am guessing that you are the grsingleton listed in the messages.  It
says that it was "Fixed in CWS vcl7pp1r3."  What does this mean?  I am
guessing that this was after the release date of 1.1.0?

Thanks for the help.
-- Frank Hahn God is not dead! He's alive and autographing bibles at
Cody's 
Comment 30 dfhahn 2003-11-05 22:39:33 UTC
Hello:

I wanted to reconfirm Mr. Singletons response below that I could not
override the Java requirement on installation when using a mouse for
input.  When I used my keyboard, I was allowed to make the selection
that I did not have Java installed.

I have an Optical Logitech mouse which may or may not be a problem. 
This was also on a Slackware Linux installation.

I wanted to changed a couple of the items above, for example:

OS: from Windows 98 to Linux (Would not let me change)
Version: OOo 1.1 RC3 to OOo 1.1

Thanks.

Frank Hahn
Comment 31 stephan_schaefer 2003-11-13 15:52:31 UTC
ssa->of: please verify.

Comment 32 grsingleton 2003-11-13 16:43:40 UTC
Seems IZ has ISSUES. I attempted to update this issue a number of days
a WRT my experience with the laptop but obviously it was posted.

Here goes again:

Using the keyboard on the laptop did allow me to get by the problem as
you predicted. However I would note that you must NOT use the mouse at
all until you get past the Java part. After is okay.
Comment 33 Olaf Felka 2003-12-09 10:42:37 UTC
New focus behaviour at java installation.
Comment 34 Olaf Felka 2003-12-09 10:43:41 UTC
Verified in cws vcl7pp1r3.
Comment 35 Olaf Felka 2004-01-28 09:45:57 UTC
Ok in srx645m27.