franglais125 / no-title-bar

Integrates maximized windows with the top panel
https://extensions.gnome.org/extension/1267/no-title-bar/
GNU General Public License v2.0
279 stars 40 forks source link

Buttons not displayed when they have to be displayed. #52

Open Orycteropus opened 6 years ago

Orycteropus commented 6 years ago

This issue happens when you have two or more windows including one that is in fullscreen mode and takes advantage of the plugin.

When the fullscreen window loses the focus, the buttons disapear, which is correct. The buttons come back when the window gets the focus back. However, if the window, which is in fullscreen mode, allows you to scroll in its view, the title of the window comes back in the title bar but not the buttons.

When this happens, even when the focus is retrieved, the buttons are not displayed. They are only displayed when you click on the top bar.

This is not really a blocking issue but this is a little bit disturbing. The window might be in a state not considered by the plugin. I'll try to look at this and maybe create a pull request if I find something interesting.

franglais125 commented 6 years ago

Thanks a lot for reporting this. I noticed i merged a PR from you. Was this issue resolved?

If it wasn't, I'm sorry, but I don't really understand how to reproduce this. Could you perhaps include a video/gif of the issue?

Cheers!

Orycteropus commented 6 years ago

No, the PR you merged does not concern this issue.

In fact, I only reproduce this issue with the Intellij software ... but as it is the principal application I work with hence I frequently notice this issue.

I will see if I can attach a gif or a video to show you.

Orycteropus commented 6 years ago

Here is a gif that should help you understand what happens.

no_title_bar_focus

In the fisrt place, the focus is on Intellij, then on Chromium and finally I scrolled down on Intellij (without clicking on the window) and when I get the focus back, the buttons doesn't appear.