Bauble / bauble.classic

this is how Bauble and Ghini both started
GNU General Public License v2.0
10 stars 34 forks source link

Species editor dialogs don't display on Mac #278

Closed brettatoms closed 8 years ago

brettatoms commented 8 years ago

On a fresh install on the Mac when trying to open the species editor all that is displayed is the titlebar. Maximizing it doesn't show the window. When you un-maximize the editor flashes open for a second and then collapses again into the titlebar. See screenshot.

Only tried on Mac 10.11.2

screen shot 2016-01-15 at 7 29 56 am
mfrasca commented 8 years ago

interesting. you have any logging information? when it flashes open "for a second", is it correctly populated? can you grab the base line of the window and pull it open? does this only happen for the species editor?

mfrasca commented 8 years ago

I also see that on Mac you have the same problem as I have on the N900, that is that some icons do not show correctly.

brettatoms commented 8 years ago

When it flashes open I can see some text fields but it's too fast to tell what's there and what's not. No, I can't grab the window handles and drag it open. Yes, only for the species editor.

See logs:

b.log Uploaded using ZenHub.io

mfrasca commented 8 years ago

I can't see anything strange in the log. as soon as I can access a macintosh, I will have a look at this. who knows this is related to the osx version, and who knows it gets solved once we have a solution to #169 (native look)?

RoDuth commented 8 years ago

Just thought I'd have a quick look on my wife's MacBook Air, OSX v10.9.5. I installed Bauble on it some time back as a bit of an experiment. After running the Bauble upgrade (to v1.0.55) I got the same issue with the species editor. Everything else seemed to be running OK and the species editor was fine previously in v1.0.52.

mfrasca commented 8 years ago

ok, in the meanwhile if you need it you know where to roll it back to. if either of you could bisect further so I know when I introduced the problem.

RoDuth commented 8 years ago

seems to be between these 2 commits:

commit 3b9452780fdf50c3214f2b8de811c5b3aa787d1f
Author: Mario Frasca <mario@anche.no>
Date:   Fri Dec 4 09:56:25 2015 -0500

    closes #197

commit 0049c3f6d69430aec6b227b8f1dc72ad1e3aa35c
Author: Mario Frasca <mario@anche.no>
Date:   Thu Dec 3 16:38:57 2015 -0500

    closes #52

It works at 0049c3f6d69430aec6b227b8f1dc72ad1e3aa35c not at 3b9452780fdf50c3214f2b8de811c5b3aa787d1f

mfrasca commented 8 years ago

nice job, thanks. I will have a look at it. (on github you do not shorten commit hashes, it's github doing that, and it links it to the correct place)

mfrasca commented 8 years ago

this 3b9452780fdf50c3214f2b8de811c5b3aa787d1f was a very isolated patch. you could undo it temporarily, or see how to make the mac understand the width hint without collapsing the window height.

mfrasca commented 8 years ago

This issue was moved to Ghini/ghini.desktop#139