-
Notifications
You must be signed in to change notification settings - Fork 45
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
Some application windows sometimes don't appear upon launch unless something changes on the screen #476
Comments
I've occasionally encountered a similar issue in different situations (e.g. sometimes when toggling tiling, the layout doesn't show properly until the cursor is moved). |
I've noticed something like this this when testing cosmic-comp outside of cosmic-session (so no panel, etc). I use the launcher to open an application like Firefox, but it doesn't appear until I move the cursor. |
Probably some event is not triggering a re-draw, when it should. Might be difficult to pin down exactly. Does firefox always reproduce this? |
I see it frequently with Firefox as well, yeah. I'm not certain if it's 100% of the time though, since something as simple as letting off the Super key too slowly is enough to trigger an update, which means I don't notice it. I noticed the window may also appear when the clock on my panel updates and changes time, so there is at least one case where user input isn't necessary to show the window. |
I find it pretty consistently reproducible when starting cosmic-comp on it's own, opening the launcher with a keybinding, and starting firefox. Without moving the cursor. |
I can reproduce it 100% of the time in all apps (that can be launched with a shortcut) if I remove any changing panel components (e.g. App Tray), and there are no other open apps (since the windows switching focus probably triggers a re-draw). Letting go of the Super key more slowly when launching an app makes it display after releasing Super. |
This one has been difficult to pin down, but I think I finally have steps to recreate it semi-reliably. I'm not certain that it's a compositor bug, so feel free to transfer this issue if it fits better somewhere else. I've seen it happen with other applications, so I'm pretty certain it's not just a cosmic-term bug.
Steps to reproduce:
Now, cosmic-term often doesn't appear until I either press a key or move my mouse, at which time cosmic-term appears normally.
As mentioned in the first step, having the dock active makes the bug vanish, and cosmic-term always appears as expected. Also, having an OBS screen capture scene set up makes the bug vanish as well. Since attempting to record the bug makes the bug go away, I'll see if I can get a clear video of it happening with my phone and upload it in this thread.
The text was updated successfully, but these errors were encountered: