Giter Club home page Giter Club logo

Comments (12)

daid avatar daid commented on August 27, 2024

Do the tooltips ever work on MacOS?
If not, it would be interesting to see if the "OnPopupDisplay" and "OnPopupHide" functions are called at all. They are in newui/configBase.py, and a simple print would show if those functions are called at all.

from legacycura.

ErikDeBruijn avatar ErikDeBruijn commented on August 27, 2024

The bind function section is ran, the update too, but display and hide aren't run (at least, I don't see the results from the print statement in those functions...)

from legacycura.

daid avatar daid commented on August 27, 2024

Looks like the EVT_ENTER_WINDOW and EVT_LEAVE_WINDOW events don't work on text controls for MacOS (googling shows more people with the same problem)

I'll have to think up a way around that...

from legacycura.

daid avatar daid commented on August 27, 2024

I might have worked around this now. Let me know what the latest version does. It might still have a few issues with the popups hiding after showing, but they should popup now.

from legacycura.

RedwoodForest avatar RedwoodForest commented on August 27, 2024

There are definitely issues with popups not hiding after showing. Once a popup is displayed it is not dismissed until a different popup is displayed (even if you go to another tab or even another program — I've got a popup displaying on top of Safari at the moment as I type this).

They do show though:).

from legacycura.

ErikDeBruijn avatar ErikDeBruijn commented on August 27, 2024

Hi Daid, already an improvement.

I made a little screencast to understand how it behaves now:
http://youtu.be/JKCG4Bm3v5Y

It would be nice if the popup is hidden when you move or unfocus the entire window.

from legacycura.

daid avatar daid commented on August 27, 2024

Ah, damn. They also don't hide when moved over (which is something I did try to add). MacOS seems to be much more limited in which events are usable from controls. Time to put up the thinking hat again.

from legacycura.

daid avatar daid commented on August 27, 2024

While trying to use EVT_KILL_FOCUS I discovered something.
I made some changes and now MacOS popups might work, or might not work at all.

from legacycura.

ErikDeBruijn avatar ErikDeBruijn commented on August 27, 2024

The Popups stopped working... so that's not it...

from legacycura.

daid avatar daid commented on August 27, 2024

I think my current solution should show the popups, at the bottom of the window. This is because the popup don't go away until you select something else. And if the popup was on top of another setting you cannot select that one.

It's not a perfect solution, but it's the best I could came up with right now.

from legacycura.

ErikDeBruijn avatar ErikDeBruijn commented on August 27, 2024

It doesn't show the popup yet, but I may be testing the wrong version.
commit dd79a4c
Author: daid [email protected]
Date: Fri Mar 16 15:25:40 2012 +0100

Running: python skeinpypy.py in dir: SkeinPyPy/SkeinPyPy/ (NOT NewUI, I lost the python file there... so can't run it!)

from legacycura.

daid avatar daid commented on August 27, 2024

I renamed the SkeinPyPy_NewUI to SkeinPyPy today. So makes sense you can no longer find the NewUI.

Odd that it doesn't show the popup. I've asked the wxPython-Mac maillinglist for help, maybe they can figure it out...

from legacycura.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.