Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Issues with Mac book retina  (Read 1918 times)

0 Members and 2 Guests are viewing this topic.

Esan

  • Newbie
  • *
  • Posts: 3
    • View Profile
Issues with Mac book retina
« on: March 16, 2016, 01:59:50 pm »
Hi everyone,

I'm facing 2 issues with someone that is using a Mac Book retina.

The first issue is that the rendering window of my app is too small. Native's resolution for retina display is 2560x1600 but the size of the display is only 13.3 inches. See attached bitmaps with the SFML template app. Notice that with the retina display, the window's title size is bigger than the one with the standard display. I feel that there is a mix between the retina's native display and the retina's scaled display. The window's title is displayed according to the scaled display, but not the window itself. Has anyone an idea on how to address this issue that ? I would like to have the app window conforming to the retina scaled size.

The second issue is that when the user minimizes the app, he always gets a crash. See attached crash log. Again, this issue occurs only for Mac having retina display. The crash seems to occur deeply inside Apple libraries. Any clue ?

For your information, I'm using version 2.3.2 of SFML. The user with the retina display is running OSX 10.11.3. Myself, I'm running OSX 10.11.1.

thanks for your help.

Hiura

  • SFML Team
  • Hero Member
  • *****
  • Posts: 4321
    • View Profile
    • Email
Re: Issues with Mac book retina
« Reply #1 on: March 16, 2016, 09:45:01 pm »
Hi Esan,

Several things were fixed since 2.3.2. Here is a partial list: https://github.com/SFML/SFML/pulls?q=is%3Apr+label%3Ap%3Aosx+is%3Aclosed+milestone%3A2.4

Additionally, some related stuff are still pending for review. See this post: http://en.sfml-dev.org/forums/index.php?topic=19743.0 Since at least one PR seems related to your issues, it would be great to give it a shot.  :)

Regarding your crash, maybe it was fixed already, maybe it has to do with your application calling setSize with wrong parameters, or maybe there's indeed a bug but I cannot reproduce it on my machine (10.10). If you could reduce it to a SSCCE that'd be great.

SFML / OS X developer

Esan

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Issues with Mac book retina
« Reply #2 on: April 22, 2016, 06:03:58 pm »
Solution : set "NO" for High Resolution Capable in the ...-info.plist file.
That's it.

 

anything