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

Author Topic: Position and Size off under macOS 10.14 Beta  (Read 2834 times)

0 Members and 1 Guest are viewing this topic.

NoFr1ends

  • Newbie
  • *
  • Posts: 2
    • View Profile
Position and Size off under macOS 10.14 Beta
« on: July 17, 2018, 09:07:14 am »
Hello,

while testing macOS 10.14 Beta I discovered a bug which appears in combination with SFML.
Under macOS 10.14 all positions and sizes in the window are wrong but under macOS 10.13 everything works as expected.

I have made some examples:

200x200 Window, 100 radius circle at 0,0
(click to show/hide)

200x200 Window, 100 radius circle at 50,50
(click to show/hide)

It looks like SFML use internally only 100x100 size while the window is 200x200, maybe the viewport is generated wrong.

All projects are generated with:
cmake -DCMAKE_OSX_DEPLOYMENT_TARGET=10.13
generating with
cmake -DCMAKE_OSX_DEPLOYMENT_TARGET=10.14
doesn't change anything (also tried other different versions).

SFML is installed from 2.5.0 source with:
cmake
make
sudo make install

Apple Clang Version is 10.0.0 (cland-1000.10.38)

Edit: Change the scaling of the display changes nothing
« Last Edit: July 17, 2018, 09:21:35 am by NoFr1ends »

Hiura

  • SFML Team
  • Hero Member
  • *****
  • Posts: 4321
    • View Profile
    • Email
Re: Position and Size off under macOS 10.14 Beta
« Reply #1 on: July 20, 2018, 09:13:18 am »
Because macOS 10.14 is still in Beta, anything can go wrong. But please give us some heads up if this still isn't resolved when it's officially out there. :)
SFML / OS X developer

NoFr1ends

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Position and Size off under macOS 10.14 Beta
« Reply #2 on: July 21, 2018, 04:24:42 pm »
With the newest beta version of macOS the issue is gone.
Looks like Apple messed something up.
I will keep track of this until final release.

 

anything