Skip to content

Conversation

@akurtakov
Copy link
Member

hardware-acceleration-policy has always 2 values "always"(0) and "never"(1) as per https://webkitgtk.org/reference/webkitgtk/stable/enum.HardwareAccelerationPolicy.html thus value of 2 is no longer supported.
Fixes "(SWT:330330): GLib-GObject-CRITICAL **: 10:47:39.032: value "((WebKitHardwareAccelerationPolicy) 2)" of type
'WebKitHardwareAccelerationPolicy' is invalid or out of range for property 'hardware-acceleration-policy' of type
'WebKitHardwareAccelerationPolicy'" when running on GTK4. As GTK 4 is fairly different from GTK 3 where it was disabled in an effort to fix crash let's keep the default setting unless there is a problem that is fixed by disabling hardware acceleration.

hardware-acceleration-policy has always 2 values "always"(0) and
"never"(1) as per https://webkitgtk.org/reference/webkitgtk/stable/enum.HardwareAccelerationPolicy.html
thus value of 2 is no longer supported.
Fixes "(SWT:330330): GLib-GObject-CRITICAL **: 10:47:39.032: value
"((WebKitHardwareAccelerationPolicy) 2)" of type
'WebKitHardwareAccelerationPolicy' is invalid or out of range for
property 'hardware-acceleration-policy' of type
'WebKitHardwareAccelerationPolicy'" when running on GTK4.
As GTK 4 is fairly different from GTK 3 where it was disabled in an
effort to fix crash let's keep the default setting unless there is a
problem that is fixed by disabling hardware acceleration.
@akurtakov akurtakov self-assigned this Feb 10, 2025
@github-actions
Copy link
Contributor

Test Results

   502 files  ±0     502 suites  ±0   9m 48s ⏱️ +12s
 4 334 tests ±0   4 320 ✅ ±0   14 💤 ±0  0 ❌ ±0 
16 575 runs  ±0  16 466 ✅ ±0  109 💤 ±0  0 ❌ ±0 

Results for commit 0ea3748. ± Comparison against base commit da7ffe0.

@akurtakov akurtakov merged commit 940240a into eclipse-platform:master Feb 10, 2025
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant