[haiku-bugs] Re: [Haiku] #14507: Implement a way to pause programs

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Fri, 21 Sep 2018 16:00:36 -0000

#14507: Implement a way to pause programs
------------------------------------+----------------------------
   Reporter:  miqlas                |      Owner:  nobody
       Type:  bug                   |     Status:  new
   Priority:  normal                |  Milestone:  Unscheduled
  Component:  Kits/Application Kit  |    Version:  R1/Development
 Resolution:                        |   Keywords:
 Blocked By:                        |   Blocking:
Has a Patch:  0                     |   Platform:  All
------------------------------------+----------------------------

Comment (by ahwayakchih):

 Replying to [ticket:14507 miqlas]:

For Gui programs i can imagine a keyboard/mouse shortcut to
 freeze/unfreeze application state. For multi-threaded programs the whole
 process-tree have to be frozen from the selected window (or tab for cli
 programs).

 I prepared proof of concept mini-application and configured Shortcut for
 it - it works :). It's actually pretty cool to "freeze" and then
 "unfreeze" browser with a simple key shortcut, instead of clicking around
 through "manager" menus and/or windows.

 Window content gets "broken" visually, after some other app/window is
 moved above it, just like some people commented. So, without some
 additional stuff, it may be confusing (looks like buggy application got
 frozen/hanged ;).

The frozen programs would get a PAUSE symbol overlay.

 This may require a lot of hacking (for example: creating windows with
 overlay bitmap and  placing it at the same spot as original windows, and
 then hiding originals) and/or changes in Haiku "core", so i'm guessing it
 will not happen anytime soon.

 Besides, overlay would prevent user from seeing whatever was last rendered
 in window.

-- 
Ticket URL: <https://dev.haiku-os.org/ticket/14507#comment:7>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: