[haiku-bugs] Re: [Haiku] #12534: Apps started via Shortcuts prefs don't get env variables

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Fri, 17 Sep 2021 17:26:18 -0000

#12534: Apps started via Shortcuts prefs don't get env variables
------------------------------------+----------------------------
  Reporter:  humdinger              |      Owner:  leavengood
      Type:  bug                    |     Status:  assigned
  Priority:  normal                 |  Milestone:  Unscheduled
 Component:  Servers/launch_daemon  |    Version:  R1/Development
Resolution:                         |   Keywords:
Blocked By:                         |   Blocking:
  Platform:  All                    |
------------------------------------+----------------------------
Comment (by X512):

and there can be per-user fonts (or better, dynamically loaded fonts
 from web browsers)

 As you mentioned, dynamic font management is already needed for web fonts
 even for single user. Per-user font handling will be not that difficult
 after that.

as well as global caches (e.g. clipping cache, font cache) where
 separating objects from different users will not be easy

 Many caches can be shared globally between all users. It is big chance
 that multiple users will use the same font with the same size so
 rasterized font cache can be reused.

Why do you think it is so much simpler to not have multiple app_servers
 in a multi-user environment?

 Single GUI server process is needed for global coordination (graphics
 drivers management, login screen, user switching).

The amount of code we would have to add to app_server in order to
 support that is ultimately, however you look at it

 Multi-user will work just now after implementing screen and input stream
 switching. This is very small changes compared to complete redesign
 app_server. It is already working without any changes in test_app_server
 by opening each user desktop in separate window.
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/12534#comment:42>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: