[jbosstools-issues] [JBoss JIRA] (JBIDE-25836) Windows overlapping when selecting a quick fix in runtime detection dialog
Rob Stryker (JIRA)
issues at jboss.org
Thu Apr 5 12:31:00 EDT 2018
[ https://issues.jboss.org/browse/JBIDE-25836?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13556857#comment-13556857 ]
Rob Stryker commented on JBIDE-25836:
-------------------------------------
So, it's disappearing as proper on linux. We have code to hide it once the new file-chooser is opened:
{code}
Listener hideUnfocusedPopup = new Listener() {
public void handleEvent(final Event event) {
Display.getDefault().asyncExec(new Runnable() {
public void run() {
Widget w = event.widget;
Control control = Display.getDefault().getFocusControl();
if (control == null || (control != getTree() && control != popupTable)) {
popupShell.setVisible(false);
}
}
});
}
};
{code}
And this is the stack trace showing the focusOut event is called which then hides the shell:
{code}
Shell.setVisible(boolean) line: 2359
RuntimeCheckboxTreeViewer$5$1.run() line: 180
RunnableLock.run(Display) line: 37
UISynchronizer(Synchronizer).runAsyncMessages(boolean) line: 182
Display.runAsyncMessages(boolean) line: 4497
Display.idleProc(long) line: 3194
OS._gtk_dialog_run(long) line: not available [native method]
OS.gtk_dialog_run(long) line: 6940
FileDialog.openChooserDialog() line: 349
FileDialog.open() line: 300
MissingMinishiftResolutionProvider$MissingMinishiftResolution.getFile(File, Shell) line: 52
{code}
If the shell is there, it must somehow not be getting the focusOut event during FileDialog.open().
> Windows overlapping when selecting a quick fix in runtime detection dialog
> --------------------------------------------------------------------------
>
> Key: JBIDE-25836
> URL: https://issues.jboss.org/browse/JBIDE-25836
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: runtime-detection
> Affects Versions: 4.5.3.AM3
> Reporter: Martin Malina
> Assignee: Rob Stryker
> Attachments: set-minishift-location.png
>
>
> The quickfix column of runtime detection will show a sort of a tooltip with list of actions when you click the errors. This tooltip/window is somehow broken - it will be displayed above everything all the time. So even if I select "Set minishift binary location" and a file picker is opened, this tooltip is above the file picker and obstructs my selection.
> !set-minishift-location.png!
> Side question: Why is the tooltip so big even if there is just one action?
> This is on Mac. Latest nightly of devstudio 11.3.0.AM3.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the jbosstools-issues
mailing list