-
Notifications
You must be signed in to change notification settings - Fork 14
Wayland splashscreen: fix display and segfaults #8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: jdk21.0.1-wayland
Are you sure you want to change the base?
Conversation
Hi @char3210, welcome to this OpenJDK project and thanks for contributing! We do not recognize you as Contributor and need to ensure you have signed the Oracle Contributor Agreement (OCA). If you have not signed the OCA, please follow the instructions. Please fill in your GitHub username in the "Username" field of the application. Once you have signed the OCA, please let us know by writing If you already are an OpenJDK Author, Committer or Reviewer, please click here to open a new issue so that we can record that fact. Please use "Add GitHub user char3210" as summary for the issue. If you are contributing this work on behalf of your employer and your employer has signed the OCA, please let us know by writing |
❗ This change is not yet ready to be integrated. |
To avoid this situation, create a new branch for your changes and reset the
Then proceed to create a new pull request with |
/signed |
Thank you! Please allow for up to two weeks to process your OCA, although it is usually done within one to two business days. Also, please note that pull requests that are pending an OCA check will not usually be evaluated, so your patience is appreciated! |
Hello! Thanks for the fix, but could you please identify the problem first: what are the symptoms and how to reproduce them? |
Here is a basic Java Maven application that displays a splash screen for a while: https://github.com/char3210/swing-splash-test. It can be run with I'm on KDE Plasma 6.3.5. When I ran it, it would crash on SIGSEGV due to wl_state->default_cursor being uninitialized. Initializing the wl_state fields fixed the crash, but no splash screen appeared. This is because the xdg toplevel surface was never committed, so the xdg_surface.configure event was never sent. Fixing that cause another segfault since wl_state->default_cursor was not checked for null in the pointer enter event. Finally the splashscreen appeared, but the loading icon when hovering over it was slower than expected, so using |
Thank you! I will have a look and get back to you |
src/java.desktop/unix/native/libwlsplashscreen/splashscreen_sys.c
Outdated
Show resolved
Hide resolved
The patch looks good to me except for the one comment. |
@mkartashev Per OpenJDK policy, do not approve any PRs where there is still a pending OCA verification. If and when this verification is complete, the Skara bot will remove the two OCA labels, which will indicate that the PR author's OCA has been recorded. In the mean time, please revoke your approval of this PR. |
@char3210 This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply issue a |
/keepalive It looks like my OCA is still under review, is this normal? Are there any steps that can be done from my side? |
@char3210 The pull request is being re-evaluated and the inactivity timeout has been reset. |
No. |
What does this mean? |
@char3210 This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply issue a |
This fixes segfaults and makes the splashscreen actually appear (at least for KDE plasma)
Progress
Error
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/wakefield.git pull/8/head:pull/8
$ git checkout pull/8
Update a local copy of the PR:
$ git checkout pull/8
$ git pull https://git.openjdk.org/wakefield.git pull/8/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 8
View PR using the GUI difftool:
$ git pr show -t 8
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/wakefield/pull/8.diff