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

Terminal title-bars are transparent on first start #392

Closed
jwrdegoede opened this issue Feb 23, 2021 · 3 comments · Fixed by #462
Closed

Terminal title-bars are transparent on first start #392

jwrdegoede opened this issue Feb 23, 2021 · 3 comments · Fixed by #462
Labels
bug Something isn't working

Comments

@jwrdegoede
Copy link

Describe the bug
I use terminator without window-decorations with terminals in a 2x2 grid. At startup the title-bars for the 4 terminals are transparent, without any text showing in them. Rather then grey or red with the usual title-bar text in them.

To Reproduce
I've put a symlink to /usr/share/applications/terminator.desktop in ~/.config/autostart/. I'm also autostarting the "audacious" media-player when I log in.

What I believe is happening is that terminator is relying on a focus-in (or out) event to trigger the first drawing of the title-bars. Since in my case audacious ends up with the initial focus, terminator never gets the focus, so no focus in/out events and thus never draws the title-bars, causing them to appear transparent.

If I manually start terminator instead of having it autostart, this problem does not happen.

Expected behavior
Terminator renders the per-terminal title-bars at startu

Screenshots
https://fedorapeople.org/~jwrdegoede/Screenshot%20from%202021-02-08%2016-52-39.png

Desktop (please complete the following information):
I'm seeing this on 2 x86_64 machines, One with Fedora 33 + all the latest updates and another which is running Fedora 34 (pre-release) with all the latest updates. I'm using the terminator package provided by the distro in both cases.

@jwrdegoede
Copy link
Author

I forgot to mention that I can interact with and even start other apps and the title bars stay transparent, they get drawn as soon as I switch focus to terminator once, further strengthening my believe that this is causes by terminator solely relying on focus events to draw the title-bars, without doing an initial draw at startup.

@mattrose
Copy link
Member

might need an explicit .show, or .queue_draw call. I'll look into this.

@jwrdegoede
Copy link
Author

Thanks, let me know if you have a patch which you would like me to test.

For me this is 100% reproducable, but I dunno if you will be able to reproduce it yourself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants