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

Application windows doesn't open directly, but runs in background #2085

Closed
ghost opened this Issue Jun 19, 2016 · 13 comments

Comments

Projects
None yet
2 participants
@ghost

ghost commented Jun 19, 2016

Qubes OS version (e.g., R3.1):

R3.2

Affected TemplateVMs (e.g., fedora-23, if applicable):

All


Expected behavior:

When open an application from the launcher the application should start and the window should open.

Actual behavior:

Application is started, but "hidden" until some action. I.e. after arbitrary thing happen the windows pops-up and become view able.

Steps to reproduce the behavior:

Start application from the application launcher or update from Qubes manager. Doesn't always happens, but in the majority of cases.

@ghost ghost changed the title from Application windows doesn to Application windows doesn't open directly, but runs in background Jun 19, 2016

@andrewdavidwong andrewdavidwong added this to the Release 3.2 milestone Jun 20, 2016

@andrewdavidwong

This comment has been minimized.

Show comment
Hide comment
@andrewdavidwong

andrewdavidwong Jun 20, 2016

Member

Does this happen when you start a VM by clicking an application shortcut in the main launcher? If so, is the VM status color yellow in Qubes Manager when this happens?

Member

andrewdavidwong commented Jun 20, 2016

Does this happen when you start a VM by clicking an application shortcut in the main launcher? If so, is the VM status color yellow in Qubes Manager when this happens?

@ghost

This comment has been minimized.

Show comment
Hide comment
@ghost

ghost Jun 20, 2016

Yes, it happens when I start an application using the application launcher. The color of the state icon changes from yellow --> green (about 1 sec) --> yellow.

ghost commented Jun 20, 2016

Yes, it happens when I start an application using the application launcher. The color of the state icon changes from yellow --> green (about 1 sec) --> yellow.

@andrewdavidwong

This comment has been minimized.

Show comment
Hide comment
@andrewdavidwong

andrewdavidwong Jun 20, 2016

Member

Yes, it happens when I start an application using the application launcher.

Sorry, but that's not what I asked. I asked:

Does this happen when you start a VM by clicking an application shortcut in the main launcher?

In other words, is the VM powered off before you try to start the application, or is it already running?

Member

andrewdavidwong commented Jun 20, 2016

Yes, it happens when I start an application using the application launcher.

Sorry, but that's not what I asked. I asked:

Does this happen when you start a VM by clicking an application shortcut in the main launcher?

In other words, is the VM powered off before you try to start the application, or is it already running?

@ghost

This comment has been minimized.

Show comment
Hide comment
@ghost

ghost Jun 20, 2016

It's powered off when I try to start an application.

ghost commented Jun 20, 2016

It's powered off when I try to start an application.

@andrewdavidwong

This comment has been minimized.

Show comment
Hide comment
@andrewdavidwong

andrewdavidwong Jun 21, 2016

Member

What kind of application are you starting from the launcher, and what kind of event causes the window to become viewable (and the state of the VM to change from yellow to green)?

I've noticed similar behavior in R3.1, but only when starting some non-GUI program. In my case, opening any kind of GUI window causes the state to change from yellow to green.

Member

andrewdavidwong commented Jun 21, 2016

What kind of application are you starting from the launcher, and what kind of event causes the window to become viewable (and the state of the VM to change from yellow to green)?

I've noticed similar behavior in R3.1, but only when starting some non-GUI program. In my case, opening any kind of GUI window causes the state to change from yellow to green.

@ghost

This comment has been minimized.

Show comment
Hide comment
@ghost

ghost Jun 21, 2016

Andrew David Wong:

What kind of application are you starting from the launcher, and what kind of event causes the window to become viewable (and the state of the VM to change from yellow to green)?
It happens for all applications. To get the windows visible I've to
click on an menu entry for the same appVM one more time. E.g. try to
open two browser windows, or one browser window and one terminal. Both
then become visible. If I try to open two browser windows two tabs will
open. I've noticed that it mainly happens to new appVMs that I haven't
started earlier.

The yellow icon becomes green when the window(s) become visible.

I've noticed similar behavior in R3.1, but only when starting some non-GUI program. In my case, opening any kind of GUI window causes the state to change from yellow to green.
It never happened for me on R3.1, or it was so rare so that I didn't
notice it.

ghost commented Jun 21, 2016

Andrew David Wong:

What kind of application are you starting from the launcher, and what kind of event causes the window to become viewable (and the state of the VM to change from yellow to green)?
It happens for all applications. To get the windows visible I've to
click on an menu entry for the same appVM one more time. E.g. try to
open two browser windows, or one browser window and one terminal. Both
then become visible. If I try to open two browser windows two tabs will
open. I've noticed that it mainly happens to new appVMs that I haven't
started earlier.

The yellow icon becomes green when the window(s) become visible.

I've noticed similar behavior in R3.1, but only when starting some non-GUI program. In my case, opening any kind of GUI window causes the state to change from yellow to green.
It never happened for me on R3.1, or it was so rare so that I didn't
notice it.

@andrewdavidwong

This comment has been minimized.

Show comment
Hide comment
@andrewdavidwong

andrewdavidwong Jun 22, 2016

Member

It's not a duplicate of #1451, right?

In other words, the window is not just partially rendered, but rather not visible at all?

Member

andrewdavidwong commented Jun 22, 2016

It's not a duplicate of #1451, right?

In other words, the window is not just partially rendered, but rather not visible at all?

@ghost

This comment has been minimized.

Show comment
Hide comment
@ghost

ghost Jun 23, 2016

No, it isn't. This is what happens.

  1. Try to open an application from the application launcher in an shutdown VM.
  2. The virtual machine is started up, and the applications launcher is jumping around (the "loading" icon)
  3. Nothing else happens (when his problem occur). E.g. the window doesn't show up in the task switcher (Alt+Tab).
  4. Try to start another application, or the same, in the same virtual machine almost instantly makes the first and second application windows show up.

ghost commented Jun 23, 2016

No, it isn't. This is what happens.

  1. Try to open an application from the application launcher in an shutdown VM.
  2. The virtual machine is started up, and the applications launcher is jumping around (the "loading" icon)
  3. Nothing else happens (when his problem occur). E.g. the window doesn't show up in the task switcher (Alt+Tab).
  4. Try to start another application, or the same, in the same virtual machine almost instantly makes the first and second application windows show up.
@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Jun 24, 2016

Member

I've managed to reproduce this. The problem is that gui daemon sometimes
crashes at VM startup. But since it's automatically restarted (when needed)
when trying to start new application, the first application also shows up.

The actual error message in /var/log/qubes/guid.VMNAME.log (or .old one
when gui daemon gets restarted):

 XDestroyWindow 0x5e00005
ErrorHandler: BadWindow (invalid Window parameter)
                 Major opcode: 10 (X_UnmapWindow)
                 ResourceID:   0x5e00005
                 Failed serial number:  194
                 Current serial number: 197

Looks like some race condition on destroying window.

Member

marmarek commented Jun 24, 2016

I've managed to reproduce this. The problem is that gui daemon sometimes
crashes at VM startup. But since it's automatically restarted (when needed)
when trying to start new application, the first application also shows up.

The actual error message in /var/log/qubes/guid.VMNAME.log (or .old one
when gui daemon gets restarted):

 XDestroyWindow 0x5e00005
ErrorHandler: BadWindow (invalid Window parameter)
                 Major opcode: 10 (X_UnmapWindow)
                 ResourceID:   0x5e00005
                 Failed serial number:  194
                 Current serial number: 197

Looks like some race condition on destroying window.

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Jun 24, 2016

Member

Automated announcement from builder-github

The package qubes-gui-dom0-3.2.2-1.fc23 has been pushed to the r3.2 testing repository for dom0.
To test this update, please install it with the following command:

sudo qubes-dom0-update --enablerepo=qubes-dom0-current-testing

Changes included in this update

Member

marmarek commented Jun 24, 2016

Automated announcement from builder-github

The package qubes-gui-dom0-3.2.2-1.fc23 has been pushed to the r3.2 testing repository for dom0.
To test this update, please install it with the following command:

sudo qubes-dom0-update --enablerepo=qubes-dom0-current-testing

Changes included in this update

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Jul 28, 2016

Member

Automated announcement from builder-github

The package qubes-gui-dom0-3.2.3-1.fc23 has been pushed to the r3.2 stable repository for dom0.
To install this update, please use the standard update command:

sudo qubes-dom0-update

Or update dom0 via Qubes Manager.

Changes included in this update

Member

marmarek commented Jul 28, 2016

Automated announcement from builder-github

The package qubes-gui-dom0-3.2.3-1.fc23 has been pushed to the r3.2 stable repository for dom0.
To install this update, please use the standard update command:

sudo qubes-dom0-update

Or update dom0 via Qubes Manager.

Changes included in this update

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Aug 8, 2016

Member

Automated announcement from builder-github

The package qubes-gui-dom0-3.2.4-1.fc23 has been pushed to the r3.2 testing repository for dom0.
To test this update, please install it with the following command:

sudo qubes-dom0-update --enablerepo=qubes-dom0-current-testing

Changes included in this update

Member

marmarek commented Aug 8, 2016

Automated announcement from builder-github

The package qubes-gui-dom0-3.2.4-1.fc23 has been pushed to the r3.2 testing repository for dom0.
To test this update, please install it with the following command:

sudo qubes-dom0-update --enablerepo=qubes-dom0-current-testing

Changes included in this update

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Aug 31, 2016

Member

Automated announcement from builder-github

The package qubes-gui-dom0-3.2.4-1.fc23 has been pushed to the r3.2 stable repository for dom0.
To install this update, please use the standard update command:

sudo qubes-dom0-update

Or update dom0 via Qubes Manager.

Changes included in this update

Member

marmarek commented Aug 31, 2016

Automated announcement from builder-github

The package qubes-gui-dom0-3.2.4-1.fc23 has been pushed to the r3.2 stable repository for dom0.
To install this update, please use the standard update command:

sudo qubes-dom0-update

Or update dom0 via Qubes Manager.

Changes included in this update

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment