Bug 352624 - Error dialog in RAP does not scale or wrap its content as expected
Summary: Error dialog in RAP does not scale or wrap its content as expected
Status: ASSIGNED
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: 1.4   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-20 12:16 EDT by Moritz Post CLA
Modified: 2011-07-21 06:08 EDT (History)
0 users

See Also:


Attachments
Screenshot of the problem (54.49 KB, image/png)
2011-07-21 04:47 EDT, Moritz Post CLA
no flags Details
Controls Demo -> Dialogs Tab -> ErrorDialog (43.15 KB, image/png)
2011-07-21 05:03 EDT, Ivan Furnadjiev CLA
no flags Details
Manually resized RCP ErrorDialog (20.87 KB, image/png)
2011-07-21 06:08 EDT, Ivan Furnadjiev CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Moritz Post CLA 2011-07-20 12:16:09 EDT
When the generic eclipse error dialog is shown in rap the content does not fit into the dialog. the dialog should wrap the content or adjust its size as on the RCP platform.

See attached screenshot.
Comment 1 Ivan Furnadjiev CLA 2011-07-21 03:06:18 EDT
Moritz, where is the screenshot :-) Could you provide a small snippet that demonstrate the problem?
Comment 2 Moritz Post CLA 2011-07-21 04:47:37 EDT
Created attachment 200063 [details]
Screenshot of the problem

Ah my dislike for bugzilla is justified! I have witnesses that have seen me attach the image. Anyways... attached again. Hope it is working now.

I can not give you sample code though. sorry.
Comment 3 Ivan Furnadjiev CLA 2011-07-21 05:03:22 EDT
Created attachment 200066 [details]
Controls Demo -> Dialogs Tab -> ErrorDialog

I can't reproduce it with Controls Demo -> Dialogs Tab. JFace ErrorDialog is used there. Everything wraps OK.
Comment 4 Ivan Furnadjiev CLA 2011-07-21 06:07:55 EDT
Some more information about the screenshot in comment #2:
1. The ErrorDialog is resized manually - that's why the buttons are cut off.
2. There is a very long text in the dialog without spaces.
In comparison to RCP (see next screenshot):
1. When resizing the dialog manually the buttons are cut off in RCP as well.
2. When resizing the dialog manually the text with/without spaces wraps in RCP, but not in RAP.
3. The text without spaces wraps initially (when dialog is opened) in RCP, but not in RAP.
Comment 5 Ivan Furnadjiev CLA 2011-07-21 06:08:46 EDT
Created attachment 200074 [details]
Manually resized RCP ErrorDialog