Detect system dark theme preference via xdg settings portal on Linux. #40011 (Also in 25, 27)
Fixed build failure when PDF viewer is disabled. #39999 (Also in 25, 27)
Security: backported fix for CVE-2023-5217. #40023