Bug 386122 - in scrolledcomposit setOrigin() method is not working on unix but its working on windows
Summary: in scrolledcomposit setOrigin() method is not working on unix but its working...
Status: CLOSED WORKSFORME
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.2   Edit
Hardware: All Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo, triaged
Depends on:
Blocks:
 
Reported: 2012-07-27 08:46 EDT by neeraj negi CLA
Modified: 2019-01-18 11:48 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description neeraj negi CLA 2012-07-27 08:46:28 EDT
Build Identifier: Version: 3.7.2 Build id: M20120208-0800

We have created a properties by extending the viewer class. we have provided the option to add the control on scrolled composite on runtime dynamically.
But the vertical scroll bar always goes to the top after every addition of control. we are not able to maintain the vertical scroll bar to the same position.
everytime new control is added in the property it calls the refresh method of viewer.
in refresh we are getting the scrolled positiion and after refresh we are setting the scrolled position.
but this is working fine in windows and not working in unix environment.

I am not able to find and work around for this issue apart from manually scrolling it down.

Reproducible: Always

Steps to Reproduce:
1.open properties in which we can add control dynamically for example on click of button text boxes are adding up on property page
2. every addition the scroll bar goes up and not maintaining its position
Comment 1 Alexander Kurtakov CLA 2018-01-15 16:01:06 EST
Is this smth you still experience? Can you please attach a snippet to test it?
Comment 2 Eric Williams CLA 2019-01-18 11:48:02 EST
(In reply to Alexander Kurtakov from comment #1)
> Is this smth you still experience? Can you please attach a snippet to test
> it?

No response in awhile, closing this bug now. Please reopen if the issue persists on GTK3.22+ and SWT 4.10.