elementary / wingpanel

Stylish top panel that holds indicators and spawns an application launcher
https://elementary.io
GNU General Public License v3.0
136 stars 45 forks source link

Window flickers when navigating between Wingpanel indicators #263

Closed Appeltabak closed 4 years ago

Appeltabak commented 4 years ago

Prerequisites

Describe the bug

When navigating through the Wingpanel indicators, the application window that had been focused flashes/flickers, seemingly changing from focused to unfocused (see screencast).

To Reproduce

  1. Open any application
  2. Navigate through the indicator as demonstrated in the screencast
  3. Notice the flashing
  4. See error

Expected behavior

Don't change the focus of the application.

Screenshots or screen recordings

Screen record from 2019-11-01 09 38 38

Platform Information

image

Please check what applies:

4jNsY6fCVqZv commented 4 years ago

This was fixed with the last release https://github.com/elementary/wingpanel/releases/tag/2.2.6

However, you must first restart Wingpanel to see the changes. As far as I know, an update via the AppCenter is not enough. Just as it is the case with the update of the AppCenter itself.

As an idea: Perhaps AppCenter can simply give users a hint whenever some changes can only take effect by restarting the components. And at the same time offers an action to do so.

Or is it possible that changes can basically happen live and the corresponding components update themselves and restart themselves if necessary?

janxkoci commented 4 years ago

I think the apps/components should know best when they need restart to finish update properly - I don't see why AppCenter should be responsible for that (except kernel updates, which nearly always require reboots, unless you use something like livepatch).

peteruithoven commented 4 years ago

Thanks for the report! I'm afraid this is a duplicate of https://github.com/elementary/wingpanel/issues/221