New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Syntax Tooltip too persistent #1810

Closed
manngo opened this Issue Jul 16, 2016 · 8 comments

Comments

Projects
None yet
4 participants
@manngo

manngo commented Jul 16, 2016

Short Summary

If I write some code which the syntax checker disapproves of, a tooltip naturally appears. However:

  • the tooltip does not disappear if I continue typing underneath it
  • if I switch to another window (cmd-tab) the tool tip appears on all other windows

Steps to Reproduce

  • in JavaScript, type int alert(0) and wait; you may have to move the mouse over the code
  • when the tooltip appears, either continue typing, or switch to another window.

Expected results

The tooltip should get out of the way.

Actual results

Well, it doesn’t

Platform Information

Komodo Edit or IDE? Edit
Komodo Version? 10.0.1
Operating System (and version)? OS X 10.11.5

Additional Information

@mitchell-as

This comment has been minimized.

Member

mitchell-as commented Jul 18, 2016

I've noticed this too, but I think it's a problem related to Mozilla (Komodo is built on the Mozilla framework). This may be simply a nuisance to ignore from time to time.

@Naatan when you get back can you comment on this?

@manngo

This comment has been minimized.

manngo commented Jul 24, 2016

I have some more information on this bug.

Sometimes, the tooltip will pop up even if another application is in front. If it does, I need to switch back to Komodo Edit just to move the focus away from the offending line and then switch back to what I’m doing.

Is there any way of switching off the tooltip altogether for now?

@mitchell-as

This comment has been minimized.

Member

mitchell-as commented Jul 25, 2016

Short of turning off syntax checking, there is no way to disable the tooltip.

@Naatan Naatan added Type: UX and removed Pending: Internal labels Jul 25, 2016

@Naatan Naatan added this to the 10.1 milestone Jul 25, 2016

@Naatan Naatan self-assigned this Jul 25, 2016

@Naatan

This comment has been minimized.

Member

Naatan commented Jul 25, 2016

I've noticed this too, I'm not sure what causes it but I'll for sure have a look at it.

@cgchoffman

This comment has been minimized.

Member

cgchoffman commented Jul 25, 2016

FYI, Firefox does this occasionally too. I've noticed it anyway. Maybe there is an upstream patch.

@manngo

This comment has been minimized.

manngo commented Jul 25, 2016

I have an interim solution. I edited userChrome.css and brute-forced the tooltip into the status bar.

I display my status bar at the bottom — if you display it up the top then one of the values will need to change.

popupset>tooltip {
    /*  display: none; */ /* this would be a desperation measure */
    position: fixed;
    bottom: 26px !important;    /*  this moves down after the first display */
    right: 440px;
    background-color: transparent !important;
}
popupset>tooltip>description {  /* somehow, this is always visible */
    border: thin solid #ccc !important;
    background-color: #f8f8f8 !important;
}

I don’t understand why the tooltip is always visible when I do this, but it’s only small and unobtrusive in its new location.

This always-visible tooltip looks remarkably similar to a small rectangle which has often haunted the screen in previous incarnations of Komodo Edit, so I wonder whether this is a long-standing bug.

BTW I’m not too sure about the Enhancement label. I see this more of a usability bug.

@manngo

This comment has been minimized.

manngo commented Aug 4, 2016

More information. I think it’s the same bug.

When, in another application (not Firefox), I move my mouse over the position where the document tabs in Komodo Edit are in the background, the tab tooltip pops up anyway.

Here is an example in program called SvgLab:

tooltip

The tooltop shows a README.md file.

@Naatan

This comment has been minimized.

Member

Naatan commented Aug 4, 2016

huh. That's very odd. Starting to sound more like a Mozilla bug :\

@Naatan Naatan modified the milestones: 10.1, 11 Aug 15, 2016

@Naatan Naatan closed this in d6a814b Mar 24, 2017

Naatan added a commit that referenced this issue Mar 24, 2017

UI: Fix tooltip appearing over other applications windows - fixes #1810
rn=

(integrated from the KomodoIDE master branch change b33e694786 by Nathan Rijksen <n.rijksen@gmail.com>)

Komodo/KomodoIDE@b33e694

@Naatan Naatan modified the milestones: Perpetual, 11 Apr 7, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment