Bug 388524 - Problem with wrapping in SharedScrolledComposite
Summary: Problem with wrapping in SharedScrolledComposite
Status: CLOSED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: User Assistance (show other bugs)
Version: 3.6.2   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords: helpwanted
Depends on:
Blocks:
 
Reported: 2012-08-31 09:09 EDT by Kamil Fejfar CLA
Modified: 2019-11-27 07:35 EST (History)
1 user (show)

See Also:


Attachments
Shared scrolled composite displays unnecessary horizontal scroll bar. (178.76 KB, image/png)
2012-08-31 09:10 EDT, Kamil Fejfar CLA
no flags Details
Shared scrolled composite performs unnecessary wrap. (59.16 KB, image/png)
2012-08-31 09:12 EDT, Kamil Fejfar CLA
no flags Details
Shared scrolled composite wraps controls/text too soon. (141.46 KB, image/png)
2012-08-31 09:13 EDT, Kamil Fejfar CLA
no flags Details
Source of wrap view plugin. (13.18 KB, application/octet-stream)
2012-08-31 09:22 EDT, Kamil Fejfar CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kamil Fejfar CLA 2012-08-31 09:09:10 EDT
Shared scrolled composite had problem with unecessary horizontal bar displaying (bug 294868) as you can see in unnecessary_hscroll.png.

Fixing this problem (available width is reduced by vertical scroll bar width) caused this bug - shared scrolled composite performs unnecessary wrapping or wraps too soon (pictures should_not_wrap.png and wraps_too_soon.png). This problem can be reproduced in help view, but more obvious it is in attached plugin (viewer with wrap layout).
Comment 1 Kamil Fejfar CLA 2012-08-31 09:10:45 EDT
Created attachment 220570 [details]
Shared scrolled composite displays unnecessary horizontal scroll bar.
Comment 2 Kamil Fejfar CLA 2012-08-31 09:12:17 EDT
Created attachment 220571 [details]
Shared scrolled composite performs unnecessary wrap.
Comment 3 Kamil Fejfar CLA 2012-08-31 09:13:12 EDT
Created attachment 220572 [details]
Shared scrolled composite wraps controls/text too soon.
Comment 4 Kamil Fejfar CLA 2012-08-31 09:22:07 EDT
Created attachment 220573 [details]
Source of wrap view plugin.
Comment 5 Kamil Fejfar CLA 2012-08-31 10:05:10 EDT
Maybe the term "wraps too soon" is not correct. It means that text/control is
wrapped before its end reaches the right border of the client area. The text/controls are wrapped like the vertical bar were there (but the vertical bar is not). Also this case (wraps too soon) is unnecessary wrap. This case happens when no vertical and horizontal scroll bar is needed, available height below control/text is lower than the last control/row text height and the last control/text should be from the right border of the client area closer than vertical scroll bar width (quite difficult to write, but see pictures).
Comment 6 Lars Vogel CLA 2019-11-27 07:35:23 EST
This bug hasn't had any activity in quite some time. Maybe the problem got
resolved, was a duplicate of something else, or became less pressing for some
reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it.
The information can be, for example, that the problem still occurs, that you
still want the feature, that more information is needed, or that the bug is
(for whatever reason) no longer relevant.

If the bug is still relevant, please remove the stalebug whiteboard tag.