matplotlib GUI tooltip - user-interface

everytime i use matplotlib GUI on mac it leaves some text on screen.
For example "Zoom Rectangle" tooltip appears on all windows ... and doesn't go away until I have closed python and matplotlib. It's very irritating to do this again and again. I just want to know weather it's problem with my stupid Macbook Air or something to do with matplotlib GUI!

I also have this problem. I haven't been able to fix it yet, but the following has helped. If you place your cursor over one of the icons (so that the tooltip appears) all of the other zombie tooltips will disappear. Then, move your mouse off of the icon and wait for the tooltip to completely disappear before closing the figure window. It is still crazy annoying, but at least you won't have to close python and matplotlib.

Related

Why does my SDL app have an abnormal window border on Mac?

I've noticed my simple SDL application has an abnormal window border on Mac. There's no gradient and the color is dark gray instead of light gray. It just looks wrong. I've noticed that LÖVE also has this on mac, and it uses SDL as well, leading me to believe this is indeed SDL-related...
Meanwhile applications like Finder, Terminal, Audacity... they have a more standard, nice-looking window border.
Why is this happening, and can I make it look like a normal Mac window?
this is now fixed in LOVE. Looks like the latest SDL source fixes this according to the discussion I linked.

No horizontal scrollbar in Xcode's Interface Builder

When I try to edit a storyboard file in Xcode (Version 5.1.1 (5B1008) under OS X 10.9.3) I can only see the vertical scrollbar. Moving around in the horizontal direction between view controllers is not possible. The horizontal bar doesn't show when I hover over it. It only briefly shows when I select past the visible area but it immediately disappears afterwards and I can only scroll by a few pixels at a time this way.
I have tried restarting XCode and the OS but it didn't help. Scrolling was possible before. It stopped working for no apparent reason this morning. I have not updated XCode nor OS X or messed with the system in any way since it was last working. Has anyone encountered this problem before? Do I need to reinstall XCode at this point?
Press Shift + Scroll Mouse this will scroll preview in horizontal
It's a not bug, it's a feature. It wouldn't be a problem if you use the Apple mouse. There is a workaround for a typical 2/3 button mouse, although it would affect all horizontal bars across the system. Just follow System Preferences->General->Show scroll bars, and select Always.
I have been struggling with this as well. The only solution I found is the following:
So there is a mini map for the storyboard that hovers over the right upper-side.
If you can't see it, just click on the "Adjust Editor Options" button and make sure Minimap is selected.
This is the best way to move around just like you are using the scroll bars.

Magic Mouse scrolling stops working after horizontal scrolling

Occasionally when I scroll horizontally in an app using the magic mouse, the current tab or page I'm scrolling on freezes and thereon in that app, scrolling is completely non-functional.
For example, if I'm using Safari and I scroll horizontally to go back to the previous link, the current tab freezes, stuck in the middle of the animation. If I close the frozen tab, the other tabs work fine, but I can't scroll vertically or horizontally in them. I have to scroll using the scrollbar. No other apps are affected and if I restart the affected application, everything goes back to normal and the mouse scrolling is functional again.
Has anybody else had this issue? Any ideas on how to fix this?
I was running Lion when this issue started. I updated to Mavericks hoping it would be fixed, but no luck. I'm currently running Mavericks GM on an iMac (latest model).
This is an issue after installing Mavericks. Go to System Preferences/General and click on Show scroll bars: Check "Always". Hope this helps.

matplotlib right click to zoom not working

When running matplotlib in interactive mode the figure should zoom when you drag while holding down the right mouse button. This is not working for me. It will zoom if I drag with the left mouse button while holding down the option key.
Does anyone know how to get the right mouse button working for zooming? Is it an issue with matplotlib, ipython, x11, settings in system preferences?
Here is a description of how things are supposed to work (look under 'Pan/Zoom'):
http://matplotlib.sourceforge.net/users/navigation_toolbar.html
I'm running Enthought python distribution 7.2.2 64 bit on OSX 10.5.8. The matplotlib plots are displayed in an X11 window and the backend is TkAgg.
Thanks.
In the TkAgg backend the mouse button numbers are hardcoded so there is no easy rc setting to change. I do notice that there is some special case code in the tkagg backend (~ line 351):
if sys.platform=='darwin':
# 2 and 3 were reversed on the OSX platform I
# tested under tkagg
if num==2: num=3
elif num==3: num=2
Which looks very suspicious given your problem. Perhaps it is worth opening a matplotlib issue, and giving some details as to the type of mouse you are using (plus all of the details in the original, well put together, question).

Tooltips flicker on OSX

I'm creating a cross-platform GUI using JavaFX 2.0, and some of the controls that I use require tooltips to be displayed when the mouse hovers over them. I've got the tooltips displaying fine on my Windows 7 machine, but on OSX (10.7.3) the tooltips appear and then dissapear immediately, and the only way to get them to display again is to move the mouse off the control and then back on.
Is this a known issue with tooltips under OSX, or is there something special that needs to be done?
Many thanks,
Joseph.
Looks like a known issue RT-14798 "Mac: tooltips disappear right after they are displayed", which was fixed on January 26, 2012. Download the latest JavaFX OS-X early access release and, if you are still having an issue, reopen the bug. Signup is required to access the bug tracker, but anybody can signup and create or comment on bugs and issues.

Resources