Boostnote: Linux: Closing the window via GUI doesn鈥榯 close processes

Created on 24 Mar 2018  路  7Comments  路  Source: BoostIO/Boostnote

Linux Mint 18.3 Cinnamon
Boostnote 0.11.3

As pointed out in another thread for windows, closing boostnote via the x-button of the window doesn鈥榯 close the processes properly. This prevents the app from repoening after closing. Opening the app again is only possible after manually killing all related processes.
Closing the app via ctrl+q works well though.

bug

Most helpful comment

I'm going to publish this in this weekend. :smile:

All 7 comments

It should be same to #1679

More than a year ago, I'd been using cinnamon too. At that moment, some people asked me to make the app hide, rather than quit itself, when its window closed. I assume this sounded reasonable because we can easily unhide it from the dock of cinnamon, just like the dock of macOS.

But, this is old story. So, do you want to make the app quit ASAP when you close its window, Right?

@jkbecker @ushell How do you think?

If you guys like it, I'll re-deploy the fixed version on next week.

Ok after testing it again, I can not confirm what you are saying about "unhiding" in cinnamon with boostnote. If I close the app via GUI, there is no icon etc left which I could use to start again. I couldn't find another way to open the app again, other than killing all processes manually.

I'm not sure what you mean by dock, but I tried this with the cinnamon panel and I'm also using planck as a macOS like dock. I have the boostnote icon in my planck dock and it definitively doesn't work like macOS. If I try to start the app again, a window is opened for a split second and then it is gone.

So in its current form I'd argue that this should be handled as a defect. I don't see a reason why the "gui-quit" should be different from ctrl+q. This may make sense in macOS where this is the default behavior for many apps, but this is not true for Linux (at least none distro that I've ever used).

but this is not true for Linux (at least none distro that I've ever used).

Okay, let's make it simple. Do you want to try to fix this? Modifying a single line should be enough.
https://github.com/BoostIO/Boostnote/blob/master/lib/main-window.js#L43

If you don't have time to do, I'll fix it in this week anyway. Just let me know if you could afford.

ok I've made an attempt to fix it and sent a pull request. Hope that works. I've never had any contact with javascript before though.
Keep up the good work, I really like the app!

@Rokt33r I can confirm @wAuner's case description and agree that the behavior doesn't work well with Linux Mint 18.3 -- could have been better with a previous version (must be there for a reason, right?) but I agree that actually exiting the app when closing the window would be more intuitive.

I'm going to publish this in this weekend. :smile:

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Ocanamat picture Ocanamat  路  3Comments

louiealmeda picture louiealmeda  路  3Comments

luong-komorebi picture luong-komorebi  路  3Comments

ysshah picture ysshah  路  3Comments

NourEldin275 picture NourEldin275  路  3Comments