News for hackers. Stuff that matters.
Re:Is the madness ever going to end? by CitrusFruits on Tuesday January 11, 2022 @06:25PM (#29899943)
Ii run Slack outside of a tab and in its app format because it's easier to navigate to using keyboard shortcuts and OS level features. That may not be enough for you, but it's plenty reason for me, and I imagine many others.
Re:Is the madness ever going to end? by Stratoscope on Tuesday January 11, 2022 @09:44PM (#29901650)
With Chrome or Edge, you can take any web page and turn it into a standalone "app" that lives in the start menu and can be pinned to the taskbar and Alt-Tabbed to, etc.

In the Chrome menu, select More Tools / Create Shortcut... and edit the title and check the Open as Window box.

In Edge, select Apps / Install this site as an app. Edge has a lot more options here than Chrome. You can pin it to the Taskbar or Start, create a desktop shortcut, and set it to auto-start. (You can do those manually with a Chrome shortcut if you know your way around the Start menu and Startup folder, but it's easier in Edge.)

I don't see a similar option in Firefox. No idea about Safari. If anyone knows about those browsers, please comment.

And having posted this comment, I am now wondering why I am still running the Slack app. I think I will try making it an Edge app!

Re:Is the madness ever going to end? by emodendroket on Wednesday January 12, 2022 @01:17AM (#29902987)
I don't understand. What benefit does this have over running the app?
Re:Is the madness ever going to end? by Stratoscope on Wednesday January 12, 2022 @02:47AM (#29903539)
Some people in the thread said they preferred running Slack in a browser tab instead of the Electron app, perhaps to avoid the memory overhead of a separate browser instance.

The comment I replied to described a preference for the app because of OS navigation, e.g. Alt+Tab, a separate taskbar icon, etc.

This Chrome shortcut or Edge app trick lets you combine these approaches, running the website in your browser but giving the site its own main window that you can pin to the taskbar, set to auto-run, and navigate to like a native app.

Re:Is the madness ever going to end? by emodendroket on Wednesday January 12, 2022 @03:06AM (#29903674)
I would have guessed the memory consumption would be similar given the sandboxed tab model of Chrome. Anyway... even if not, do any of you guys really find that the memory consumption of Slack is a problem for you in practice?
Re:Is the madness ever going to end? by mrweasel on Wednesday January 12, 2022 @02:06AM (#29903273)
It ensures that when a website crash your browser or grinds everything to a halt, then it will take down the other “apps” as well.

That one of the reasons I don’t use the Google Chats PWA , when the browser misbehave, it will affact PWAs as well.

Re:Is the madness ever going to end? by ozfive on Tuesday January 11, 2022 @06:42PM (#29900095)
Slack in browser tab user here. Got sick of the app and how slow it was pretty fast. It's just not worth it.
Re:Is the madness ever going to end? by codefined on Tuesday January 11, 2022 @07:07PM (#29900365)
Not a Slack user here. Is the app version _slower_ than the website? I assumed that since Electron is only a little bit more than a Chromium wrapper that they would have identical performance.
Re:Is the madness ever going to end? by BeefWellington on Tuesday January 11, 2022 @07:31PM (#29900591)
It's not just the app being slower than the website, it's what it does to the rest of your machine.

Contained within a tab Slack can only use a set amount of resources allotted by the browser.

Whereas installing the app means it can go full hog.

Re:Is the madness ever going to end? by BHSPitMonkey on Tuesday January 11, 2022 @08:00PM (#29900919)
One Chromium runtime managing five tabs is more efficient than five Chromium runtimes running one site each (because those instances aren't able to share anything with one another).
Re:Is the madness ever going to end? by wowokay on Tuesday January 11, 2022 @07:31PM (#29900588)
Long time slack app user here, I don’t know how you guys organize your slack but performance has never been an issue for our organization, I don’t think it would run any better then it currently does if it were an os native app, of course my machine isn’t a toaster.
Re:Is the madness ever going to end? by TheOtherHobbes on Tuesday January 11, 2022 @08:16PM (#29901052)
Isn't the native app just the Electron code repackaged for native, and not a true ground-up native app at all?

If the code is based on HTML/js/CSS and not Swift/Obj-C/C++ (etc) then you're really creating a web app running in a native microbrowser.

Which is very much not the same thing as writing OS and system calls directly - not least because it will be much slower.