View Issue Details

IDProjectCategoryView StatusLast Update
0004426Slicer4Core: GUIpublic2018-10-01 12:35
Reportergregsharp Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status acknowledgedResolutionopen 
Product Version 
Target VersionSlicer 4.11.0Fixed in Version 
Summary0004426: Changing window focus in OS moves focus from python sub-window
Description

NOTE: This issue was encountered on linux, I have not tried other platforms.

Suppose I have the python interactor sub-window open, and am typing stuff. Then I change window focus from Slicer to another window and back (e.g. Alt-Tab to web browser, then Alt-tab back to Slicer). The focus is not restored to the python interactor as it should be.

TagsNo tags attached.

Relationships

related to 0001792 confirmedfinetjul popup competes with modal dialog for priority 

Activities

jcfr

jcfr

2017-09-26 10:15

administrator   ~0015125

Last edited: 2017-09-26 10:15

View 2 revisions

Hi Greg,

Thanks for reporting the issue.

When you mention " python interactor sub-window", are you in a state similar to what is reported on the screenshot ?

If this is the case, I am able to reproduce the problem.



gregsharp

gregsharp

2017-09-26 10:39

developer   ~0015131

Yes, that is the one. Thanks!

Note: There is a workaround to hit CTL-3 (close) then CTL-3 (open) which brings focus back.

jcfr

jcfr

2018-09-13 11:56

administrator   ~0016011

@gregsharp I am re-targeting this for the next release. That said, we would be happy to review contribution if you would like to have this fixed in the upcoming release.

gregsharp

gregsharp

2018-09-13 12:15

developer   ~0016013

Retargeting sounds good. Thanks!

lassoan

lassoan

2018-10-01 12:24

developer   ~0016055

Do you have this issue if the window is docked into the main window?

gregsharp

gregsharp

2018-10-01 12:35

developer   ~0016057

No. Docked window works as expected. Focus is retained in python interactor sub-window. This allows another convenient workaround. (I didn't even know you could dock this window!)

Issue History

Date Modified Username Field Change
2017-09-01 13:43 gregsharp New Issue
2017-09-26 10:15 jcfr File Added: slicer-python-sub-window.png
2017-09-26 10:15 jcfr Note Added: 0015125
2017-09-26 10:15 jcfr Note Edited: 0015125 View Revisions
2017-09-26 10:16 jcfr Status new => acknowledged
2017-09-26 10:16 jcfr Target Version => backlog
2017-09-26 10:16 jcfr Target Version backlog => Slicer 4.9.0
2017-09-26 10:39 gregsharp Note Added: 0015131
2017-09-29 11:31 inorton Relationship added related to 0001792
2018-09-13 11:55 jcfr Target Version Slicer 4.9.0 => Slicer 4.11.0
2018-09-13 11:56 jcfr Note Added: 0016011
2018-09-13 12:15 gregsharp Note Added: 0016013
2018-10-01 12:24 lassoan Note Added: 0016055
2018-10-01 12:35 gregsharp Note Added: 0016057