Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 325910 - Blank Tab when using tabs in a Wizard
Summary: Blank Tab when using tabs in a Wizard
Status: CLOSED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.6   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-21 17:21 EDT by Kapish Aggarwal CLA
Modified: 2022-01-09 01:45 EST (History)
1 user (show)

See Also:


Attachments
Missing widgets (1.65 MB, image/bmp)
2010-09-21 17:21 EDT, Kapish Aggarwal CLA
no flags Details
After switching tabs and going back to first tab (1.69 MB, image/bmp)
2010-09-21 17:22 EDT, Kapish Aggarwal CLA
no flags Details
Test Wizard Code that depicts the issue (3.00 KB, application/zip)
2010-10-04 15:11 EDT, Kapish Aggarwal CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kapish Aggarwal CLA 2010-09-21 17:21:10 EDT
Created attachment 179344 [details]
Missing widgets

Currently on SWT v3.6.0:

I am working on a tool and using the SWT as the GUI framework. I seem
to have stumbled across a bug that looks oddly similar to 298805. As that bug is supposedly fixed in 3.5.2, it seems like the bug is not the same one.

Problem: I am creating a wizard and one of the pages has tabs that get dynamically created when the page is viewed (as opposed to when the page is instantiated, which is when the wizard is first loaded). I have found that the first tab is always blank (no matter how many widgets I put) unless this page is reordered to be the first page in the wizard.

Quirks: I also found (in Windows 32-bit only so far) that if I change the tab icon, I can change tabs and go back to the first tab and the widgets will be displayed. As I noted, this did not happen in Linux. This suggests to me that the problem may be in the redraw() method. The comments for 298805 suggest that redraw was the cause, but does not go into further detail.
Comment 1 Kapish Aggarwal CLA 2010-09-21 17:22:19 EDT
Created attachment 179345 [details]
After switching tabs and going back to first tab
Comment 2 Remy Suen CLA 2010-09-21 20:04:03 EDT
Bug 298805 is on Linux so it's not likely related to your problem.

Please provide some code to reproduce your problem.
Comment 3 Kapish Aggarwal CLA 2010-10-04 15:11:03 EDT
Created attachment 180198 [details]
Test Wizard Code that depicts the issue

Unzip the code into a plugin source and compile it. Use a standard WizardDialog to launch the CustomWizard. Tab0 will not have any items displayed. If you comment out TestPageNoTabs from being added to the wizard, Tab0 will have its items displayed. If you want, you can add an icon to the tabs to show that when you do that, switching tabs will allow Tab0 items to be displayed.
Comment 4 Eclipse Webmaster CLA 2019-09-06 15:37:46 EDT
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.
Comment 5 Eclipse Genie CLA 2022-01-09 01:45:22 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. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. 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.

--
The automated Eclipse Genie.