Issue 87028 - Dialog having Tree Control cannot load and save - approved
Summary: Dialog having Tree Control cannot load and save - approved
Status: CLOSED FIXED
Alias: None
Product: General
Classification: Code
Component: code (show other issues)
Version: OOo 2.4 RC4
Hardware: PC All
: P2 Trivial (vote)
Target Milestone: OOo 2.4.1
Assignee: joerg.skottke
QA Contact: issues@framework
URL:
Keywords: regression
Depends on:
Blocks: 88258
  Show dependency tree
 
Reported: 2008-03-14 10:52 UTC by hanya
Modified: 2008-05-26 06:59 UTC (History)
4 users (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 hanya 2008-03-14 10:52:27 UTC
Looks similar to i80019.

1. Make a dialog and put a tree control on it.
2. Save the dialog.
3. Reopen Basic IDE. -> tree control dissapeared

And exporting the dialog having tree controls fails and office crashes.

Dialogs having tree control made by OOo 2.3.1 does not show dialog.

OOo 2.4 RC5 has the same problem.
Comment 1 Frank Schönheit 2008-04-01 09:52:09 UTC
confirming. P2 because of data loss and crash. Targeting to 2.4.1 for the moment
- though there's no schedule for 2.4.1, yet, I strongly assume this would be a
candidate for such a release.
Comment 2 ab 2008-04-08 10:59:27 UTC
It's really a similar problem to i80019, brought in by cws awtfixes1 when
changing toolkit\inc\toolkit\helper\property.hxx from r1.34 to r1.35 intro-
ducing the new IDs

#define BASEPROPERTY_UNIT                  124  // ::awt::FieldUnit
#define BASEPROPERTY_CUSTOMUNITTEXT        125  // ::rtl::OUString
 
conflicting with

#define BASEPROPERTY_TREE_SELECTIONTYPE    124
#define BASEPROPERTY_TREE_EDITABLE         125

While evaluating this problem I found another conflict introduced in r1.32
and fixed in r1.34. I think we shouldn't only fix this new conflict but
also introduce a mechanism allowing to find conflicts like this in time.

ab->cd: As discussed
Comment 3 Daniel Darabos 2008-04-11 13:36:21 UTC
One of our extensions has a dead dialog now as a result of this. I guess I can
find a workaround (manually instanciate the Tree Control), but I'm adding myself
to CC, so I can rejoice when it is fixed.
Comment 4 carsten.driesner 2008-04-16 16:46:35 UTC
cd: Started.
Comment 5 carsten.driesner 2008-04-16 16:49:24 UTC
cd: Fixed. I now have changed all lines where these IDs are defined. This will
definitely produce a conflict. Hopefully the one who resolves the conflict will
check the IDs carefully.
Comment 6 carsten.driesner 2008-04-24 16:40:38 UTC
cd->jsk: Please verify.
Comment 7 uwe.luebbers 2008-04-28 11:55:23 UTC
added "approved" to the title, because it will be easier to work with the 2.4.1 meta issue 
during release status meetings.
Comment 8 joerg.skottke 2008-04-29 12:15:27 UTC
CC me, will see if i can automate this issue
Comment 9 joerg.skottke 2008-05-05 09:23:46 UTC
Verified in CWS fwk89 on Linux.
This issue is covered by the automated tests
framework/basic/f_basic_formcontrols.bas and ../fbasic_formcontrols_common.bas.
Comment 10 joerg.skottke 2008-05-26 06:59:29 UTC
Closed