Big Sur problems on my application

46 views
Skip to first unread message

gga

unread,
Nov 14, 2020, 10:29:41 AM11/14/20
to fltkc...@googlegroups.com
A user has reported a graphic glitch on my application on Big Sur:

https://sourceforge.net/p/mrviewer/discussion/bugs/thread/eff87c1095/?limit=25

I have not yet updated to Big Sur myself waiting for a more stable
release, so I cannot test it yet with the fltk utilities. I am wondering
if anyone has seen something like this on their application and if a
compilation with a newer xcode would fix it. Any ideas Manolo?

--
Gonzalo Garramuño

gga

unread,
Nov 14, 2020, 3:15:46 PM11/14/20
to fltkc...@googlegroups.com

El 14/11/20 a las 12:29, gga escribió:
Never mind.  I upgraded to Big Sur, reproduced the issue, and was able
to fix it by recompiling latest fltk and latest xcode.

--
Gonzalo Garramuño

W. B.

unread,
Nov 19, 2020, 7:12:09 PM11/19/20
to fltk.coredev
Just wanted to comment on this issue.

I looked at the linked video

I have the same issue, if I compile my fltk-program on macOS 10.13, with fltk-1.4 static linked, and start it on 10.15 Catalina - I have the same graphic errors as seen on your video.
compiling against fltk-1.3.5 on 10.13 and then running it on 10.15 works fine.

I know there have been some changes on how it works on 10.15 - made in preparation for 11 Big Sur - so I think it tries to run some rendering path meant for 10.15 but it isn't build properly on 10.13...

Gonzalo Garramuño

unread,
Nov 23, 2020, 5:12:41 PM11/23/20
to fltkc...@googlegroups.com

El 19/11/20 a las 21:12, W. B. escribió:
> Just wanted to comment on this issue.
>
> I looked at the linked video
>
> I have the same issue, if I compile my fltk-program on macOS 10.13,
> with fltk-1.4 static linked, and start it on 10.15 Catalina - I have
> the same graphic errors as seen on your video.
> compiling against fltk-1.3.5 on 10.13 and then running it on 10.15
> works fine.
>
> I know there have been some changes on how it works on 10.15 - made in
> preparation for 11 Big Sur - so I think it tries to run some rendering
> path meant for 10.15 but it isn't build properly on 10.13...
In my case, I was able to fix it by downloading the latest master of
fltk1.4 and compiling against sdk11.0.1, with the
CMAKE_OSX_DEPLOYMENT_TARGET set to 10.13.

Gonzalo Garramuño

unread,
Nov 23, 2020, 5:23:03 PM11/23/20
to fltkc...@googlegroups.com

El 23/11/20 a las 19:12, Gonzalo Garramuño escribió:
Sorry, I meant CMAKE_OSX_DEPLOYMENT_TARGET set to 10.14.

MDS

unread,
Jan 23, 2022, 5:03:06 AM1/23/22
to fltk.coredev
I know this is late in the game. I just installed with the latest 1.4.x (fltk-1.4.x-20220121-09eff724.tar.bz2). Building with this version of FLTK does not solve the problem. Is there any chance this fix for Big Sur will get forward ported into the 1.4.x development branch?

Manolo

unread,
Jan 23, 2022, 6:15:14 AM1/23/22
to fltk.coredev
All fixes for Big Sur are also in the 1.4 development branch.

The problem discussed here (strictly blank windows) was created in macOS 10.14 Mojave which completely changed
the way to draw to a window relatively to previous macOS versions. The problem appeared when
old FLTK code was compiled with the 10.14 SDK and run on 10.14: all windows were blank, a serious problem indeed.
This has been fixed in FLTK rapidly (the git history can indicate exactly when) after 10.14 appeared.
The FLTK source code in the last few 1.3.x public releases and the WIP source code for the future 1.4 contain the fix.

Building FLTK with a recent SDK and CMAKE_OSX_DEPLOYMENT_TARGET set to 10.14 or more should prevent
from this problem.

Le dimanche 23 janvier 2022 à 11:03:06 UTC+1, max...@gmail.com a écrit :
I know this is late in the game. I just installed with the latest 1.4.x (fltk-1.4.x-20220121-09eff724.tar.bz2). Building with this version of FLTK does not solve the problem. Is there any chance this fix for Big Sur will get forward ported into the 1.4.x development branch?

On Monday, November 23, 2020 at 5:23:03 PM UTC-5 ggar...@gmail.com wrote:

El 23/11/20 a las 19:12, Gonzalo Garramuño escribió:
> In my case, I was able to fix it by downloading the latest master of
> fltk1.4 and compiling against sdk11.0.1, with the
> CMAKE_OSX_DEPLOYMENT_TARGET set to 10.14.
Reply all
Reply to author
Forward
0 new messages