Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Notification bar is still visible after restart #8435

Closed
NejcZdovc opened this issue Apr 22, 2017 · 9 comments
Closed

Notification bar is still visible after restart #8435

NejcZdovc opened this issue Apr 22, 2017 · 9 comments
Labels

Comments

@NejcZdovc
Copy link
Contributor

NejcZdovc commented Apr 22, 2017

  • Did you search for similar issues before submitting this one?
    yes

  • Describe the issue you encountered:
    Notification bar is still visible after restart

  • Platform (Win7, 8, 10? macOS? Linux distro?):
    macOS

  • Brave Version (revision SHA):
    570587f

  • Steps to reproduce:

    1. go to about:preferences#extensions
    2. disable PDF viewer (notification about restart is shown)
    3. restart your browser by clicking on a X
    4. start your browser again
  • Actual result:
    Notification is still visible

  • Expected result:
    Notification shouldn't be visible, because you just restarted your browser

  • Will the steps above reproduce in a fresh profile? If not what other info can be added?
    yes

  • Is this an issue in the currently released version?

  • Can this issue be consistently reproduced?
    yes

@NejcZdovc NejcZdovc added this to the 0.15.1 milestone Apr 22, 2017
@luixxiul
Copy link
Contributor

Is this specific to the extension pane ie after changing the lang setting as well?

@luixxiul luixxiul added the bug label Apr 22, 2017
@NejcZdovc
Copy link
Contributor Author

didn't test with the language

@cezaraugusto
Copy link
Contributor

which X should I click? I hit "yes" to restart but couldn't reproduce. Notification was hidden as expected.

Running SHA 506036e, macOS Sierra.

apr-24-2017 17-19-15

@NejcZdovc
Copy link
Contributor Author

@cezaraugusto X as in aplication X 😃 don't click anything on the notification
image

@cezaraugusto
Copy link
Contributor

ok I think that's because window closing on Mac isn't necessarily a restart. Unless you cmd+q to close, window will be refreshed but app is not restarted. That would work with Win/Linux where close icon really means closing the app, but not on mac.

You could check that by disabling webtorrent and closing with the X, then try to download a torrent. On restart, notification is still active (bug per this issue) but that's because webtorrent is still active, since clicking on the download file would redirect to webtorrent page. So notification is still on because extension is still on -- until you restart.

@cezaraugusto
Copy link
Contributor

btw there's a conditional in our code indicating that behavior on mac here: https://github.com/brave/browser-laptop/blob/master/app/index.js#L235

you can see that app will quit on all OSes except darwin (mac)

@alexwykoff
Copy link
Contributor

working as designed see above ^

@srirambv
Copy link
Collaborator

srirambv commented May 3, 2017

I am not able to verify this on Win x64 preview 2 due to #8629. Tried building it from source and packaged build.

@NejcZdovc
Copy link
Contributor Author

@srirambv this is invalid. It's working as designed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

5 participants