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

After screen lock, window name in top bar stop follow title changes for active application #37

Closed eugene-rom closed 6 years ago

eugene-rom commented 6 years ago

Steps to reproduce:

  1. Open application with multiple tabs with different names (Firefox/Chrome)
  2. Press Super-L to lock screen
  3. Unlock screen
  4. Press Ctrl-PgUp/Ctrl-PgDn to change application tabs. Window name in top bar not follow tab changes.

Switching to another app and returning will restore correct behaviour.

I think, as screen lock disables extensions, on calling "enable" method, no-title-bar not restore tracking for focused window title.

franglais125 commented 6 years ago

Thanks a lot for reporting this. It was a known issue, I just didn't know how to reproduce it.

I fixed it here [8a1406af89ab61fcf21eb1e58dfae5f365f085d1]. Would you mind testing the latest master branch?

eugene-rom commented 6 years ago

Tested, looks like it fixed now! Thank you!

franglais125 commented 6 years ago

Awesome! I won't be uploading a new version soon to e.g.o due to some experimental work I'm doing on Wayland, but I'll definitely include as soon as possible...

You can run the code from git for the time being :). Thanks for the feedback!