Safari only show site content when browser window is not focused (show white page instead of site content when Safari window is focused) #562

Open
opened 2025-12-29 01:21:57 +01:00 by adam · 7 comments
Owner

Originally created by @BeshEater on GitHub (Jan 16, 2024).

I've encountered strange behavior in the Safari browser. Essentially when the site is fully loaded it appears as a simple white page. It displays the site normally while it is still loading, but when it is finished I immediately get a white page instead. Also when I click outside of the browser window all content becomes visible again. + There are some Safari window sizes on which content also appears normally (but it doesn't work for all sites)

image: sickcodes/docker-osx:ventura
macOS Ventura version 13.6.3
Safari version 16.6

Video with this issue - https://youtu.be/6zl_dKLNOx4

White page instead of site content when Safari window is focused:

white_page_when_focused

Normal page with all content when Safari window is not focused:

normal_page_when_not_focused

The issue is very similar to https://discussions.apple.com/thread/254759054 - and there it was fixed by setting VMware Fusion to use Retina Resolution. I don't know how to do something similar with KVM. I've tried to set different resolutions but it doesn't help.

Info output:

Linux besheater-ThinkPad-T440p 6.5.0-14-generic #14~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon Nov 20 18:15:30 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
:0
1
PRETTY_NAME="Ubuntu 22.04.3 LTS"
NAME="Ubuntu"
VERSION_CODENAME=jammy
UBUNTU_CODENAME=jammy
Filesystem Size Used Avail Use% Mounted on
/dev/sda3 916G 172G 698G 20% /
QEMU emulator version 6.2.0 (Debian 1:6.2+dfsg-2ubuntu6.16)
Copyright (c) 2003-2021 Fabrice Bellard and the QEMU Project developers
libvirtd (libvirt) 8.0.0
total used free shared buff/cache available
Mem: 15Gi 5.7Gi 782Mi 475Mi 8.8Gi 8.8Gi
Swap: 2.0Gi 156Mi 1.8Gi
4
8
crw-rw----+ 1 root kvm 10, 232 Jan 16 18:01 /dev/kvm
total 8.0K
drwxrwxrwt 2 root root 4.0K Jan 16 03:29 .
drwxrwxrwt 20 root root 4.0K Jan 16 18:27 ..
srwxrwxrwx 1 root root 0 Jan 16 03:29 X0
root 1424 0.8 0.5 1816060 86000 ? Ssl 03:29 8:05 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock
root 32581 0.0 0.0 12300 2560 pts/4 S+ 19:19 0:00 grep --color=auto dockerd
e84b556c9bd7 sickcodes/docker-osx:naked "/bin/bash -c 'sudo …" About an hour ago Up About an hour 0.0.0.0:50922->10022/tcp, :::50922->10022/tcp wonderful_sanderson
kvm:x:109:
libvirt:x:138:besheater
libvirt-qemu:x:64055:libvirt-qemu
libvirt-dnsmasq:x:139:
docker:x:999:

Originally created by @BeshEater on GitHub (Jan 16, 2024). I've encountered strange behavior in the Safari browser. Essentially when the site is fully loaded it appears as a simple white page. It displays the site normally while it is still loading, but when it is finished I immediately get a white page instead. Also when I click outside of the browser window all content becomes visible again. + There are some Safari window sizes on which content also appears normally (but it doesn't work for all sites) image: sickcodes/docker-osx:ventura macOS Ventura version 13.6.3 Safari version 16.6 Video with this issue - https://youtu.be/6zl_dKLNOx4 **White page instead of site content when Safari window is focused:** ![white_page_when_focused](https://github.com/sickcodes/Docker-OSX/assets/43213455/099ef9e4-80ac-4b42-8442-f70a7963c864) **Normal page with all content when Safari window is not focused:** ![normal_page_when_not_focused](https://github.com/sickcodes/Docker-OSX/assets/43213455/79fb155d-5d87-41f3-9c0d-9c3eb2131edb) The issue is very similar to https://discussions.apple.com/thread/254759054 - and there it was fixed by setting VMware Fusion to use Retina Resolution. I don't know how to do something similar with KVM. I've tried to set different resolutions but it doesn't help. ### Info output: Linux besheater-ThinkPad-T440p 6.5.0-14-generic #14~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon Nov 20 18:15:30 UTC 2 x86_64 x86_64 x86_64 GNU/Linux :0 1 PRETTY_NAME="Ubuntu 22.04.3 LTS" NAME="Ubuntu" VERSION_CODENAME=jammy UBUNTU_CODENAME=jammy Filesystem Size Used Avail Use% Mounted on /dev/sda3 916G 172G 698G 20% / QEMU emulator version 6.2.0 (Debian 1:6.2+dfsg-2ubuntu6.16) Copyright (c) 2003-2021 Fabrice Bellard and the QEMU Project developers libvirtd (libvirt) 8.0.0 total used free shared buff/cache available Mem: 15Gi 5.7Gi 782Mi 475Mi 8.8Gi 8.8Gi Swap: 2.0Gi 156Mi 1.8Gi 4 8 crw-rw----+ 1 root kvm 10, 232 Jan 16 18:01 /dev/kvm total 8.0K drwxrwxrwt 2 root root 4.0K Jan 16 03:29 . drwxrwxrwt 20 root root 4.0K Jan 16 18:27 .. srwxrwxrwx 1 root root 0 Jan 16 03:29 X0 root 1424 0.8 0.5 1816060 86000 ? Ssl 03:29 8:05 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock root 32581 0.0 0.0 12300 2560 pts/4 S+ 19:19 0:00 grep --color=auto dockerd e84b556c9bd7 sickcodes/docker-osx:naked "/bin/bash -c 'sudo …" About an hour ago Up About an hour 0.0.0.0:50922->10022/tcp, :::50922->10022/tcp wonderful_sanderson kvm:x:109: libvirt:x:138:besheater libvirt-qemu:x:64055:libvirt-qemu libvirt-dnsmasq:x:139: docker:x:999:
Author
Owner

@BeshEater commented on GitHub (Jan 16, 2024):

When I posted this now I found it's the same issue as described here - https://github.com/sickcodes/Docker-OSX/issues/647

@BeshEater commented on GitHub (Jan 16, 2024): When I posted this now I found it's the same issue as described here - https://github.com/sickcodes/Docker-OSX/issues/647
Author
Owner

@sickcodes commented on GitHub (Apr 8, 2024):

I never resolved this graphical issue in Ventura, but Safari works fine in Sonoma haha.

@sickcodes commented on GitHub (Apr 8, 2024): I never resolved this graphical issue in Ventura, but Safari works fine in Sonoma haha.
Author
Owner

@alon42 commented on GitHub (Jul 12, 2024):

I had the same problem,
You just need to update Safari...

  • go to System Settings \ Software Update.
  • scroll down and click on additional updates.
  • choose the safari update.
@alon42 commented on GitHub (Jul 12, 2024): I had the same problem, You just need to update Safari... * go to System Settings \ Software Update. * scroll down and click on additional updates. * choose the safari update.
Author
Owner

@dixonge commented on GitHub (Mar 26, 2025):

I was also unable to get the Software Update panel to appear, but you can do this from the terminal!

https://apple.stackexchange.com/a/437188

@dixonge commented on GitHub (Mar 26, 2025): I was also unable to get the Software Update panel to appear, but you can do this from the terminal! https://apple.stackexchange.com/a/437188
Author
Owner

@badri001 commented on GitHub (Jun 9, 2025):

after updating the safari it got resolved as @alon42 and @dixonge mentioned above.

@badri001 commented on GitHub (Jun 9, 2025): after updating the safari it got resolved as @alon42 and @dixonge mentioned above.
Author
Owner

@Zhenyi-Wang commented on GitHub (Sep 11, 2025):

I had the same problem, You just need to update Safari...

  • go to System Settings \ Software Update.
  • scroll down and click on additional updates.
  • choose the safari update.

Many thanks!

@Zhenyi-Wang commented on GitHub (Sep 11, 2025): > I had the same problem, You just need to update Safari... > > * go to System Settings \ Software Update. > * scroll down and click on additional updates. > * choose the safari update. Many thanks!
Author
Owner

@foxiys commented on GitHub (Sep 21, 2025):

Safari update really helped
Thank`s!

@foxiys commented on GitHub (Sep 21, 2025): Safari update really helped Thank`s!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/Docker-OSX#562