Community
Participate
Working Groups
Build Identifier: 3550b When you have any application shell and create child shell (acting as dialog). Then you try to use usual windows behavior ALT+TAB to switch to another application it starts to be missing onceyou select the application while having this child shell opened. When you try to use ALT+TAB next times then it is not in the available apps. No matter if you select the application again right away or select some other application then try to return back to our application. The same behavior i can observe in Windows 7. Reproducible: Always Steps to Reproduce: 1. open shell 2. open child shell, with one of following style flags: SWT.PRIMARY_MODAL, SWT.SYSTEM_MODAL, SWT.APPLICATION_MODAL 3. use ALT+TAB as you would want to swith to another windows app, but select again our application while the child modal shell is opened 4. try to use ALT+TAB again, the application should be already missing
works for me, here are my steps 1. run ControlExample 2. go to shell tab 3. select SWT.SHELL_TRIM, parent, SWT.PRIMARY_MODAL 4. Press create shell 5. Hold ALT 6. Press Tab 7. Hold Shift 8. Press Tab (returns to the control example) 9. Release Shift and ALT try again, nothing has dissapeared.
(In reply to comment #1) > works for me, here are my steps > > 1. run ControlExample > 2. go to shell tab > 3. select SWT.SHELL_TRIM, parent, SWT.PRIMARY_MODAL > 4. Press create shell > 5. Hold ALT > 6. Press Tab > 7. Hold Shift > 8. Press Tab (returns to the control example) > 9. Release Shift and ALT > > try again, nothing has dissapeared. I do not have my app here to extract the exact snippet to (i guess i had also the "tool" style used), however this is not all steps necessary to reproduce the issue. After step 9. try to repeat steps 5-9 again. br Martin
I will try to add the snippet tomorrow.
Created attachment 201206 [details] a simple test case which i used So after I attended more attention creating the snippet the issue seems to be driven by SWT.SHADOW_IN.
I see but note that SWT.SHADOW_IN is not a valid style bit for Shell (see the doc) SWT.SHADOW_IN has the same value as SWT.TOOL, and that is bit that is causing the trouble. The bug is there, but having a modal tool window is not common (low priority).
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.