Skip to content
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

ADMeshGUI on Mac OS X #1

Closed
hroncok opened this issue Apr 21, 2015 · 14 comments
Closed

ADMeshGUI on Mac OS X #1

hroncok opened this issue Apr 21, 2015 · 14 comments

Comments

@hroncok
Copy link
Member

hroncok commented Apr 21, 2015

This is here to tract the status of ADMeshGUI on Mac OS X.

It is a continuation of discussion on admesh/homebrew-admesh#1

@hroncok
Copy link
Member Author

hroncok commented Apr 21, 2015

I've tried to change menu_bar->setNativeMenuBar (false); to true and it fixed the menubar.

mac

Other problems I see:

  • the statistics text is page broken too soon
  • the icons bar is not all visible
  • the app icon is not set
  • some buttons look different than others
  • Mac has no middle button, so it would be great to by able to do pan with Shift+LMB

@syky27
Copy link
Member

syky27 commented Apr 21, 2015

👍

@hroncok
Copy link
Member Author

hroncok commented Apr 21, 2015

Also, the process is literally eating the CPU.

@vyvledav
Copy link
Contributor

Working on it. CPU usage issue is caused by redrawing based on timer. It is possible to redraw manually on actions done.
Menubar, text page breaking and pan via Shift+LMB solved.

@hroncok
Copy link
Member Author

hroncok commented Apr 21, 2015

It would be probably also good to set target to ADMeshGUI, to get ADMeshGUI.app

Similar thing to what OpenSCAD is doing:

https://github.com/openscad/openscad/blob/master/openscad.pro#L82

@hroncok
Copy link
Member Author

hroncok commented Apr 22, 2015

The CPU load thing has been fixed.

@hroncok
Copy link
Member Author

hroncok commented Apr 22, 2015

It is not possible to drag and drop files on the icon in dock.

See how it's done in OpenSCAD (I'm repeating myself with this, but they do it the right way) https://github.com/openscad/openscad/blob/master/openscad.pro#L98

@hroncok
Copy link
Member Author

hroncok commented Apr 26, 2015

With the new Plist.info, I can drag and drop STL file to the Icon in the dock, but it leads to no action (aka nothing happens).

I Googled a bit and it seems you have to use this:

http://doc.qt.io/qt-5/qfileopenevent.html

@syky27
Copy link
Member

syky27 commented Apr 27, 2015

Hi, so I just updated to new version from HEAD and when I run agmeshgui I have no menu, unless I cycle my windows...

screenshot 2015-04-27 12 00 10

In case of switching apps the menu appears on second view.

@syky27
Copy link
Member

syky27 commented Apr 27, 2015

It's also good practice to have preferences (properties in your case) under cmd+, shortcut not cmd+p

Every program on mac has it that way. :)

@hroncok
Copy link
Member Author

hroncok commented Apr 27, 2015

Hi, so I just updated to new version from HEAD and when I run agmeshgui I have no menu, unless I cycle my windows...

@syky27 Apparently only issue with the brew formula

@hroncok
Copy link
Member Author

hroncok commented May 3, 2015

I gues sthe last thing now is that the icons in toolbar is not all visible

@hroncok
Copy link
Member Author

hroncok commented May 3, 2015

@vyvledav
Copy link
Contributor

Everything was fixed already so I'am closing this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants