Skip to content
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

[Ubuntu] "Always Trust Everything Confirmation" window is hidden #570

Open
iuliavasii opened this issue Nov 19, 2024 · 3 comments
Open

[Ubuntu] "Always Trust Everything Confirmation" window is hidden #570

iuliavasii opened this issue Nov 19, 2024 · 3 comments

Comments

@iuliavasii
Copy link

Environment:

  • Ubuntu 20.04
  • gtk 3.24.20
  • Eclipse 2023.12

Steps to reproduce:

Note that "Always Trust Everything Confirmation" window (attached) pops-up in the back of the current window, user is not able to click on it and the product becomes unusable.

Notes:

  • Using "Select All" instead of "Always trust all authorities" / "Always trust all content" doesn't show any pop-up and therefore the installation finishes successfully.
  • I was able to reproduce it in Eclipse 2024-12 as well.
    Screenshot 2024-11-19 165719
    Screenshot 2024-11-19 165828
@merks
Copy link
Contributor

merks commented Nov 19, 2024

This sounds similar to

eclipse-oomph/oomph#116

Actually it's not just similar it's basically describing the same problem...

Maybe it's a bug in SWT shell parenting behavior because nothing has changed around this code for quite a few years...

We are explicitly passing in the shell of the dialog on which the checkbox is located:

trustAlwaysButton.addSelectionListener(widgetSelectedAdapter(e -> {
if (trustAlwaysButton.getSelection()) {
// Prompt the user to ensure they really understand what they've chosen, the
// risk, and where the preference is stored if they wish to change it in the
// future. Also ensure that the default button is no so that they must
// explicitly click the yes button, not just hit enter.
var messageDialog = new MessageDialog(getShell(),
ProvUIMessages.TrustAuthorityDialog_TrustAllAuthoritiesConfirmationTitle, null,
ProvUIMessages.TrustAuthorityDialog_TrustAllAuthoritiesConfirmationDescription,
MessageDialog.QUESTION,
new String[] { ProvUIMessages.TrustAuthorityDialog_AcceptTrustAllAuthorities,
ProvUIMessages.TrustAuthorityDialog_RejectTrustAllAuthorities },
1) {

So the parent shell should be the correct one.

@akurtakov
Copy link
Member

Both Ubuntu and Eclipse versions are way too old. Would you please try whether this happens with latest Ubuntu LTS and Eclipse 2024-09?

@iuliavasii
Copy link
Author

I've tried these combinations:

  • Eclipse 2024-09 on Ubuntu 20.04 -> is reproducible
  • Ubuntu 22.04 -> not reproducible (I used Eclipse 2023-12, but I believe the Eclipse version doesn't matter here)

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

No branches or pull requests

3 participants