Issue 68961 - Freeze when setting large linked source range at combobox in Calc
Summary: Freeze when setting large linked source range at combobox in Calc
Status: CLOSED FIXED
Alias: None
Product: Calc
Classification: Application
Component: open-import (show other issues)
Version: OOo 2.0.3
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: frank
QA Contact: issues@sc
URL:
Keywords:
: 75215 (view as issue list)
Depends on:
Blocks:
 
Reported: 2006-08-25 15:23 UTC by leguff
Modified: 2013-08-07 15:14 UTC (History)
2 users (show)

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


Attachments
Example file: import this with OOo2.x or SO8PPx and the soffice-process hangs (13.50 KB, application/vnd.ms-excel)
2006-08-25 15:24 UTC, leguff
no flags Details
this file was slightly changed to refer only the necessary rows => import works fine (14.00 KB, application/vnd.ms-excel)
2006-08-25 15:25 UTC, leguff
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description leguff 2006-08-25 15:23:41 UTC
Try this:
- create a new empty excel document (I used Excel 2000, but it should also
  happen with 97, XP, ...)
- insert a ComboBox-Form-Element by using the "Form" Toolbar
- "format" the ComboBox by using right mouse button
  - go to tab "Control"
    - enter a whole column as list range (for example Table2!$B:$B)
    - associate an arbitrary cell for output
- save the excel file
- import it into OOo2.x or SO8PPx
- soffice-process consumes all CPU time it can get

Workarround:
Instead of given a whole column as list range, associate only the
number of cells you really need and everything works fine.

Remark:
When importing the file into OOo1.1.x/SO7PPx a dialog shows up:
"The maximum number of rows has been exceeded. Excess rows were not imported!"
But at least the file will be imported and works fine.

I'll upload an example excel file for easier reproduction of the
behaviour.
Comment 1 leguff 2006-08-25 15:24:44 UTC
Created attachment 38775 [details]
Example file: import this with OOo2.x or SO8PPx and the soffice-process hangs
Comment 2 leguff 2006-08-25 15:25:27 UTC
Created attachment 38776 [details]
this file was slightly changed to refer only the necessary rows => import works fine
Comment 3 frank 2006-08-30 10:28:11 UTC
Hi Daniel,

one for you I think.

Frank
Comment 4 daniel.rentz 2006-08-30 13:15:10 UTC
DR->FS: Reproducible without Excel file: Insert a combo box and enter 
A1:A65536 as source range.
Comment 5 Frank Schönheit 2006-08-30 16:24:04 UTC
train model -> target 2.x instead of 2.1

fs->dr: What do you expect to happen in such a situation? You told the control
to feed the content of 65536 cells into its list - this might take a while ... :-\
How does excel handle this? Will it automatically stop at the last cell which is
not empty?
Comment 6 Frank Schönheit 2006-12-13 14:23:00 UTC
accepting
Comment 7 Frank Schönheit 2007-02-22 11:02:57 UTC
fixed in CWS dba23a:

extensions/source/propctrlr/standardcontrol.cxx 1.24.98.1
toolkit/source/awt/vclxwindows.cxx 1.60.50.1

find more information about this CWS, like when it is available in the master
builds, in EIS, the Environment Information System:
http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Path=SRC680%2Fdba23a
Comment 8 frank 2007-03-12 13:54:26 UTC
*** Issue 75215 has been marked as a duplicate of this issue. ***
Comment 9 Frank Schönheit 2007-03-15 09:45:14 UTC
targeting to 2.3, since the fix is part of a CWS aiming for this release
Comment 10 Frank Schönheit 2007-03-21 14:06:24 UTC
fs-> oc: please verify in CWS dba23a
Comment 11 frank 2007-03-30 08:58:05 UTC
It's mine, taking over.

Frank
Comment 12 marc.neumann 2007-04-24 12:44:39 UTC
verified in CWS dba23a

find more information about this CWS, like when it is available in the master
builds, in EIS, the Environment Information System:
http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Path=SRC680%2Fdba23a
Comment 13 frank 2007-08-23 13:32:07 UTC
found integrated on master OOG680m1 using Linux, Solaris and Windows build