Open leiless opened 1 year ago
Thanks. Could you please try to turn this snippet into an automated test in the existing test bundle/suite of this repository and contribute a PR that runs this test?
Could this problem be related to the existence of or values inside ~/.swt/trims.prefs
?
In which circumstance does the ~/.swt/trims.prefs
exist?
If it's a preferences file, then no, I'm not using this file.
I'm seeing this running OpenAudible on Debian 12.5. Using the GridLayout for all layouts. Not using GridData widthHints but using minimumWidths to hint the size of the text. Lots of columns are the wrong size-- especially with regard to text. Not sure how best to debug.. but will be looking into this more. Using latest 3.124.200 SWT.
Describe the bug Hi all, I created a Shell, and populate its content, open the window. But the window size is incorrect sometimes in some Linux distros (Like Manjaro, Fedora).
Originally reported at https://bugs.eclipse.org/bugs/show_bug.cgi?id=577515
To Reproduce
Expected behavior The window size should always be in the correct size(specified in the Java code).
Screenshots
Environment:
Select the platform(s) on which the behavior is seen:
Additional OS info (e.g. OS version, Linux Desktop, etc) OS: Ubuntu 22.04.3 LTS x86_64 SWT: swt-4.24M1.jar
JRE/JDK version
Version since SWT 4.24
Workaround (or) Additional context FYI, I can fix this bug (as a workaround) by adding the
SWT.RESIZE
to the window style, and the window will appear as itssetSize(x, y)
size.