Community
Participate
Working Groups
Seen in ControlExample tabs not taking full width when maximized.
Some behavior I noticed: - Dragging the window to make it bigger correctly expands the area the widgets use - When maximized, the size stays the same as when it was when not maximized, even if the window was made bigger by dragging one of the corners
This is definitely an issue with CTabFolder, as running snippet 82 results in many GLib critical messages. The tab closing functionality is also broken, and this also exhibits the same "Unable to take up full width" behavior as seen in ControlExample.
(In reply to Joel Majano from comment #2) > This is definitely an issue with CTabFolder, as running snippet 82 results > in many GLib critical messages. The tab closing functionality is also > broken, and this also exhibits the same "Unable to take up full width" > behavior as seen in ControlExample. CTabFolder would be different issue as ControlExample uses TabFolder and not CTabFolder. Or the issue lies deeper and is exposed by both.
(In reply to Alexander Kurtakov from comment #3) > (In reply to Joel Majano from comment #2) > > This is definitely an issue with CTabFolder, as running snippet 82 results > > in many GLib critical messages. The tab closing functionality is also > > broken, and this also exhibits the same "Unable to take up full width" > > behavior as seen in ControlExample. > > CTabFolder would be different issue as ControlExample uses TabFolder and not > CTabFolder. Or the issue lies deeper and is exposed by both. Ah yes, you would be correct, it is an issue with TabFolder. Snippet 76 shows the same erroneous behaviour, and without the list of errors when launched. Thanks for the note on CTabFolder vs TabFolder in ControlExample.
My last comment was incorrect, Snippet 76 ONLY shows this behavior if shell.setLayout(new FillLayout()) is added right after shell is created. This is an issue with FillLayout().
New Gerrit change created: https://git.eclipse.org/r/c/platform/eclipse.platform.swt/+/188297
Gerrit change https://git.eclipse.org/r/c/platform/eclipse.platform.swt/+/188297 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=c5701b16d45822584ec6f20a83d1e278b59697b3
Verified in latest I20220106-0000.