Issue 46427 - Draw crashes when impress is not installed (missing dependencies in RPMs)
Summary: Draw crashes when impress is not installed (missing dependencies in RPMs)
Status: CLOSED FIXED
Alias: None
Product: Draw
Classification: Application
Component: ui (show other issues)
Version: OOo 2.0 Beta
Hardware: PC Linux, all
: P2 Trivial (vote)
Target Milestone: OOo 2.0
Assignee: wolframgarten
QA Contact: issues@graphics
URL:
Keywords: crash, oooqa
Depends on:
Blocks:
 
Reported: 2005-03-31 18:27 UTC by sandreas41
Modified: 2005-04-21 09:05 UTC (History)
3 users (show)

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


Attachments
screenshot with impress not installed - drawing functions available in writer, but not in draw (75.24 KB, image/png)
2005-04-04 23:44 UTC, lohmaier
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description sandreas41 2005-03-31 18:27:52 UTC
This bug did not exist in 1.9.79, but does now in 1.9.84

I have duplicated this on 2 computers, running 3 different linux operating
systems; knoppix-debian, and slackware varients.

From a fresh soffice, File.New.Drawing opens a new blank drawing. ok. then,

Click on File. crashes
or Click and hold elsewhere on menubar, then drag left until cursor goes from
Edit to File. crashes
or Alt-F from keyboard. crashes.
Comment 1 flibby05 2005-03-31 21:17:57 UTC
Which window manager, graphics hardware, driver?
Comment 2 sandreas41 2005-04-01 02:24:45 UTC
I figured out what causes this.

Since v1.1 allowed me to selectively install parts of the openoffice suite, I
intentionally left out impress when untar-gzipping 2.0beta, as I have no need
for it.

Unfortunately, I now know, impress is a dependency for draw.

According to the file INFO/REQUIRENAME in openofficeorg-draw-1.9.84-1.i586.rpm
impress is not listed.
This should be fixed.
Comment 3 wolframgarten 2005-04-01 06:47:41 UTC
Prioritz changed.
Comment 4 pavel 2005-04-03 12:08:37 UTC
*** Issue 46538 has been marked as a duplicate of this issue. ***
Comment 5 flibby05 2005-04-03 13:45:48 UTC
please ignore last duplicate comment
Comment 6 lohmaier 2005-04-04 23:40:27 UTC
Confirming issue with m90

Two solutions:

1) Easiest:
   add "Requires: openofficeorg-impress = %version" to the draw-rpm

2) "real" solution
   make draw work even when impress is not installed

(It crashes when I right-click on the page)
Comment 7 lohmaier 2005-04-04 23:44:03 UTC
Created attachment 24651 [details]
screenshot with impress not installed - drawing functions available in writer, but not in draw
Comment 8 wolframgarten 2005-04-05 09:36:40 UTC
Reproducible.
Reassigned.
Comment 9 clippka 2005-04-06 15:16:50 UTC
Fixed,

the problem was the SfxModule c'tor that failed when the first of two factories
was zero. Since we always gave him the impress factory first and then the draw
factory it failed if impress was not installed. I now check for an empty impress
factory and in that case use the draw factory as first factory.
Comment 10 clippka 2005-04-08 16:21:11 UTC
Back to qa for testing.

Please note, can't be testet on windows nonpro build because of issue 47041

re-open issue and reassign to wg@openoffice.org
Comment 11 clippka 2005-04-08 16:21:15 UTC
reassign to wg@openoffice.org
Comment 12 clippka 2005-04-08 16:21:24 UTC
reset resolution to FIXED
Comment 13 wolframgarten 2005-04-12 12:22:32 UTC
Verified in CWS.
Comment 14 wolframgarten 2005-04-21 09:05:31 UTC
Tested in m95. Closed.