Bug 86342 - BASIC IDE crash on inserting listbox into non-empty dialog
Summary: BASIC IDE crash on inserting listbox into non-empty dialog
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: BASIC (show other bugs)
Version:
(earliest affected)
4.2.7.2 release
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-16 12:49 UTC by ge.huber
Modified: 2015-04-21 15:06 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
A spreadsheet with a dialog to reproduce the crash and a screenshot showing the ! error message (57.73 KB, image/png)
2014-11-16 12:49 UTC, ge.huber
Details
Screenshot showing the ! error message (57.73 KB, image/png)
2014-11-16 13:00 UTC, ge.huber
Details
A spreadsheet with a dialog to reproduce the crash (12.86 KB, application/vnd.oasis.opendocument.spreadsheet)
2014-11-16 13:03 UTC, ge.huber
Details
Screenshot with steps to reproduce (64.51 KB, image/png)
2014-11-17 08:44 UTC, ge.huber
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ge.huber 2014-11-16 12:49:41 UTC
Created attachment 109550 [details]
A spreadsheet with a dialog to reproduce the crash and a screenshot showing the ! error message

Trying to add a listbox to a dialog which already has a few controls in it crashes LO. An error message appears consisting of a single ! in a system modal error-dialog which only has an Ok-button. One can task switch to other applications but can't us the mouse there. The mouse cursor still is a crosshair.

If one presses space to close the error message LO immediatly crashes.

Note: I use a touchpad, so I don't click-hold-draw but double-click-draw to insert the listbox. I don't know, if this makes any difference though.

The OS is Lubuntu 14.04.
Comment 1 ge.huber 2014-11-16 13:00:18 UTC
Created attachment 109552 [details]
Screenshot showing the ! error message

added again with hopefully correct content type
Comment 2 ge.huber 2014-11-16 13:03:43 UTC
Created attachment 109553 [details]
A spreadsheet with a dialog to reproduce the crash

added again with hopefully correct content type
Comment 3 Joel Madero 2014-11-16 20:11:52 UTC
Sorry I'm not understanding how to reproduce this issue - the sheet you attached is empty. Please provide clearer reproducible steps and then set the bug back to UNCONFIRMED. Thank you
Comment 4 ge.huber 2014-11-17 08:44:12 UTC
Created attachment 109604 [details]
Screenshot with steps to reproduce
Comment 5 ge.huber 2014-11-17 08:53:15 UTC
(In reply to Joel Madero from comment #3)
> Sorry I'm not understanding how to reproduce this issue - 

It is'nt easy to reproduce. It seems to depend on unknown parameters i.e. it works for some dialogues, but not for others.


> the sheet you attached is empty. 

That's ok. The sheet is of no concern.


> Please provide clearer reproducible steps and then set
> the bug back to UNCONFIRMED. Thank you

1. Open the attached file diatst2.ods
2. Open the BASIC IDE
3. Goto the Tab which reads Dialog1 
4. Click on the button which let's you insert a listbox. The cursor is now a crosshair
5. doubleclick an immediately drag on the form just below the big textbox, trying to insert the listbox there in the dialogue
6. The message box with the exclamation mark and OK-button appears. Cursor still is a crosshair. You can do nothing but clicking on the Ok-button in the message box. 
7. Click the Ok-button. LO crashes.  

That should reproduce the error. If it doesn't try inserting a few more controls, before inserting the listbox. It seems to get the more unstable the more controls there are already in the dialogue.

I added another screenshot detailing only the steps to do in the BASIC IDE i.e. numbers are different from that in the list above.
Comment 6 Julien Nabet 2014-11-19 22:02:26 UTC
I don't understand step 5, if you want to put a list box, click once just below text box and choose the size of it with mouse.
I tried to double click but then crosshair just turned back to simple "select" arrow and so no Ok button to click.

Would it be possible you give a try to last stable LO version 4.3.4?
Comment 7 ge.huber 2014-11-20 16:32:15 UTC
(In reply to Julien Nabet from comment #6)
> I don't understand step 5, if you want to put a list box, click once just
> below text box and choose the size of it with mouse.

I assume that by "click one and choose" you probably mean "press the mouse button and without releasing it drag to draw a rectangle the size of the box you want to insert. Release the mouse only at the end of the dragging movement".


> I tried to double click but then crosshair just turned back to simple
> "select" arrow and so no Ok button to click.

I use a touchpad, so there's no physical mouse button. To simulate a pressed button while dragging I have to single-click (i.e. do a short tap on the touchpad) than immediately click and drag (i.e. tap and leave the finger on the touchpad during dragging).


> Would it be possible you give a try to last stable LO version 4.3.4?

Since about an hours I'm downloading "LibreOffice_4.3.4_Linux_x86_deb_helppack_de.tar.gz" and it still tells me "6.02 MB of 8.00 MB (75.2%) - remaining time unknown". 
 
I'll come back to this ASAP.
Comment 8 Julien Nabet 2014-11-20 17:50:30 UTC
(In reply to ge.huber from comment #7)
> (In reply to Julien Nabet from comment #6)
> > I don't understand step 5, if you want to put a list box, click once just
> > below text box and choose the size of it with mouse.
> 
> I assume that by "click one and choose" you probably mean "press the mouse
> button and without releasing it drag to draw a rectangle the size of the box
> you want to insert. Release the mouse only at the end of the dragging
> movement".
> 
Yes exactly.
> 
> > I tried to double click but then crosshair just turned back to simple
> > "select" arrow and so no Ok button to click.
> 
> I use a touchpad, so there's no physical mouse button. To simulate a pressed
> button while dragging I have to single-click (i.e. do a short tap on the
> touchpad) than immediately click and drag (i.e. tap and leave the finger on
> the touchpad during dragging).
I don't need to tap my touchpad since I've got 2 buttons on it.
So I don't reproduce this.
> 
> 
> > Would it be possible you give a try to last stable LO version 4.3.4?
> 
> Since about an hours I'm downloading
> "LibreOffice_4.3.4_Linux_x86_deb_helppack_de.tar.gz" and it still tells me
> "6.02 MB of 8.00 MB (75.2%) - remaining time unknown". 
No need to install help to give a try, just the main program.
Comment 9 ge.huber 2014-11-20 20:30:37 UTC
(In reply to Julien Nabet from comment #8)
> > 
> > I use a touchpad, so there's no physical mouse button. To simulate a pressed
> > button while dragging I have to single-click (i.e. do a short tap on the
> > touchpad) than immediately click and drag (i.e. tap and leave the finger on
> > the touchpad during dragging).
> I don't need to tap my touchpad since I've got 2 buttons on it.
> So I don't reproduce this.
 
Probably somethere within your driver software there is an option to enable this behaviour. Seems pretty standard to me.


> No need to install help to give a try, just the main program.

Well, I need to continue work after this and frankly in my opinion the total reliance on online help in LO wasn't the best idea ever.

Anyway.

Installed 4.3.3.2. No strange message, no crash. I can draw controls to my hearts contend. Problem seems to be resolved.

I'm changing this to Resolved Fixed.

Thanks for all the fish.
Comment 10 Julien Nabet 2014-11-20 21:53:07 UTC
Thank you for your feedback.

Just nitpicking but since there's no specific fix for this bug, let's put WFM instead.