ceylon-ide-intellij icon indicating copy to clipboard operation
ceylon-ide-intellij copied to clipboard

documentation popup in completion list gets stuck fetching documentation

Open gavinking opened this issue 9 years ago • 4 comments

This is pretty minor, but the very first time I pull up the documentation popup from a completion list, I get a window that says "Fetching Documentation...", but never actually fetches it until I change the selection and go back to the original selection.

gavinking avatar Aug 29 '16 12:08 gavinking

@gavinking according to the work load we have for releasing at the end of the week, do you agree if we postpone this for 1.3.5 ? ... knowing that, while the annoyance is minor, fixing the bug might involve time to debug and find out exactly what's really happening.

davidfestal avatar Aug 29 '16 15:08 davidfestal

OK.

gavinking avatar Aug 29 '16 16:08 gavinking

Thanks !

davidfestal avatar Aug 29 '16 16:08 davidfestal

I did a little debug on this, and in the following function:

    function phasedUnit(PsiElement element) {
        if (is CeylonFile file = element.containingFile) {
            return file.waitForUpToDatePhasedUnit(3, TimeUnit.seconds);
        }
        return null;
    }

element.containingFile is null, that's why we can't show the doc the first time. But, we return a null documentation, so I thought IDEA would give up and say "No documentation found" instead, but apparently that's not what happens...

bjansen avatar Nov 07 '16 11:11 bjansen