Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.mac.system > #61527

Re: Unwanted Focus switches -- culprit trapped

From billy@MIX.COM
Newsgroups comp.sys.mac.system
Subject Re: Unwanted Focus switches -- culprit trapped
Date 2014-06-29 21:54 +0000
Organization PANIX Public Access Internet and UNIX, NYC
Message-ID <loq1u3$rnt$1@reader2.panix.com> (permalink)
References (6 earlier) <53ad0829$0$50659$c3e8da3$92d0a893@news.astraweb.com> <270620140759343430%michelle@michelle.org> <53ae23a5$0$50746$c3e8da3$92d0a893@news.astraweb.com> <280620142222219257%michelle@michelle.org> <53b05f58$0$2772$c3e8da3$66d3cc2f@news.astraweb.com>

Show all headers | View raw


JF Mezei <jfmezei.spamnot@vaxination.ca> writes:

> If some apps behave different from each other in terms of focus
> management, it means that it is somehow in the API.  However, someone
> brought up the info.plist which may have some flags to indicate whether
> this is to be foreground or background app and this may be how apps like
> Google force themselves to the foreground.
>
> In such a case, then it is the OS which is poorly designed.

Oh, bullshit.  Apple's Launch Services provide a key to start whatever
in the background.  Some moron(s) at Google, or where ever, don't use it
and that's poor design in the OS itself?  You can't possibly be serious.

One would hope, anyway.  There's a clarity of thinking that's distinctly
absent here.  How can one "API" behave differently for different programs?
Well, guess what?  It'll do whatever the individual programs request from
it.

> But an app that starts from launchd or other background mechanism should
> not get focus since launchd does not have focus to begin with.

Of course not.  What does "daemon" (as in launch daemom, or launchd) mean
to you?

https://developer.apple.com/library/mac/documentation/MacOSX/Conceptual/BPSystemStartup/Chapters/CreatingLaunchdJobs.html

| If you are running per-user background processes for OS X, launchd is 
| also the preferred way to start these processes.

> Simularly, if after clicking on textedit on Dock, you swiych to iphoto,
> then by the time textedit starts up, Doc no longer has focus, so it
> should not be able to steal focus since its parent doesn't have focus.

Oh, the irony - the Dock _never had_ input focus.  The same can be said
about lack of focus for some of the contributors to this thread.  And,
a program can not assert input focus until it has been loaded into core
and begins execution.  As has been noted, the only way to avoid that is
to embed in the hardware a few brain cells from a really good psychic.
Or, perhaps turn the OS core services into a dumping ground for ill-
conceived lunacy, which is what attempting to impliment a work-around
for this would be.

The only good thing going on here, even though it appears to be going
nowhere, is this is an actual on-charter discussion of Mac OS internals...

Billy Y..
-- 
        sub     #'9+1   ,r0             ; convert ascii byte
	add     #9.+1   ,r0             ; to an integer
	bcc     20$                     ; not a number

Back to comp.sys.mac.system | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Unwanted Focus switches Alan Browne <alan.browne@FreelunchVideotron.ca> - 2014-06-19 11:18 -0400
  Re: Unwanted Focus switches J Burns <burns4@nowhere.com> - 2014-06-19 11:25 -0400
    Re: Unwanted Focus switches Alan Browne <alan.browne@FreelunchVideotron.ca> - 2014-06-19 11:31 -0400
      Re: Unwanted Focus switches J Burns <burns4@nowhere.com> - 2014-06-19 11:44 -0400
  Re: Unwanted Focus switches nospam <nospam@nospam.invalid> - 2014-06-19 11:51 -0400
    Re: Unwanted Focus switches Alan Browne <alan.browne@FreelunchVideotron.ca> - 2014-06-19 12:24 -0400
      Re: Unwanted Focus switches nospam <nospam@nospam.invalid> - 2014-06-19 12:49 -0400
        Re: Unwanted Focus switches Jolly Roger <jollyroger@pobox.com> - 2014-06-19 17:10 +0000
          Re: Unwanted Focus switches nospam <nospam@nospam.invalid> - 2014-06-19 13:22 -0400
            Re: Unwanted Focus switches Jolly Roger <jollyroger@pobox.com> - 2014-06-19 17:39 +0000
              Re: Unwanted Focus switches nospam <nospam@nospam.invalid> - 2014-06-19 17:50 -0400
                Re: Unwanted Focus switches Jolly Roger <jollyroger@pobox.com> - 2014-06-19 22:24 +0000
                Re: Unwanted Focus switches nospam <nospam@nospam.invalid> - 2014-06-19 19:32 -0400
                Re: Unwanted Focus switches Jolly Roger <jollyroger@pobox.com> - 2014-06-20 00:08 +0000
                Re: Unwanted Focus switches nospam <nospam@nospam.invalid> - 2014-06-19 21:56 -0400
                Re: Unwanted Focus switches Barry Margolin <barmar@alum.mit.edu> - 2014-06-19 21:59 -0400
                Re: Unwanted Focus switches dorayme <do_ray_me@bigpond.com> - 2014-06-20 12:05 +1000
                Re: Unwanted Focus switches Jolly Roger <jollyroger@pobox.com> - 2014-06-20 16:27 +0000
              Re: Unwanted Focus switches John <Man@the.keyboard> - 2014-06-20 00:15 +0100
                Re: Unwanted Focus switches Jolly Roger <jollyroger@pobox.com> - 2014-06-20 00:00 +0000
                Re: Unwanted Focus switches billy@MIX.COM - 2014-06-20 00:16 +0000
                Re: Unwanted Focus switches John <Man@the.keyboard> - 2014-06-20 22:03 +0100
    Re: Unwanted Focus switches John <Man@the.keyboard> - 2014-06-20 00:23 +0100
      Re: Unwanted Focus switches Jolly Roger <jollyroger@pobox.com> - 2014-06-20 00:07 +0000
        Re: Unwanted Focus switches nospam <nospam@nospam.invalid> - 2014-06-19 21:56 -0400
        Re: Unwanted Focus switches JF Mezei <jfmezei.spamnot@vaxination.ca> - 2014-06-19 23:18 -0400
        Re: Unwanted Focus switches Alan Browne <alan.browne@FreelunchVideotron.ca> - 2014-06-20 07:49 -0400
          Re: Unwanted Focus switches Jolly Roger <jollyroger@pobox.com> - 2014-06-20 16:26 +0000
            Re: Unwanted Focus switches JF Mezei <jfmezei.spamnot@vaxination.ca> - 2014-06-20 15:10 -0400
              Re: Unwanted Focus switches Jolly Roger <jollyroger@pobox.com> - 2014-06-20 20:01 +0000
                Re: Unwanted Focus switches JF Mezei <jfmezei.spamnot@vaxination.ca> - 2014-06-20 16:14 -0400
                Re: Unwanted Focus switches Jolly Roger <jollyroger@pobox.com> - 2014-06-20 20:20 +0000
                Re: Unwanted Focus switches Barry Margolin <barmar@alum.mit.edu> - 2014-06-20 16:53 -0400
                Re: Unwanted Focus switches Jolly Roger <jollyroger@pobox.com> - 2014-06-20 22:16 +0000
                Re: Unwanted Focus switches JF Mezei <jfmezei.spamnot@vaxination.ca> - 2014-06-20 22:54 -0400
                Re: Unwanted Focus switches Jolly Roger <jollyroger@pobox.com> - 2014-06-21 04:41 +0000
                Re: Unwanted Focus switches Jolly Roger <jollyroger@pobox.com> - 2014-06-21 04:46 +0000
                Re: Unwanted Focus switches Barry Margolin <barmar@alum.mit.edu> - 2014-06-20 16:51 -0400
                Re: Unwanted Focus switches Jolly Roger <jollyroger@pobox.com> - 2014-06-20 22:05 +0000
            Re: Unwanted Focus switches Alan Browne <alan.browne@FreelunchVideotron.ca> - 2014-06-21 08:33 -0400
              Re: Unwanted Focus switches billy@MIX.COM - 2014-06-21 16:48 +0000
                Re: Unwanted Focus switches billy@MIX.COM - 2014-06-21 17:02 +0000
      Re: Unwanted Focus switches Paul Sture <nospam@sture.ch> - 2014-06-21 08:27 +0200
        Re: Unwanted Focus switches Lewis <g.kreme@gmail.com.dontsendmecopies> - 2014-06-21 17:02 +0000
          Re: Unwanted Focus switches Paul Sture <nospam@sture.ch> - 2014-06-21 19:39 +0200
  Re: Unwanted Focus switches JF Mezei <jfmezei.spamnot@vaxination.ca> - 2014-06-19 12:44 -0400
    Re: Unwanted Focus switches Your Name <YourName@YourISP.com> - 2014-06-20 09:28 +1200
      Re: Unwanted Focus switches nospam <nospam@nospam.invalid> - 2014-06-19 17:50 -0400
        Re: Unwanted Focus switches Savageduck <savageduck1@{REMOVESPAM}me.com> - 2014-06-20 09:27 -0700
          Re: Unwanted Focus switches nospam <nospam@nospam.invalid> - 2014-06-20 13:17 -0400
          Re: Unwanted Focus switches Paul Sture <nospam@sture.ch> - 2014-06-21 08:30 +0200
            Re: Unwanted Focus switches JF Mezei <jfmezei.spamnot@vaxination.ca> - 2014-06-21 15:12 -0400
      Re: Unwanted Focus switches billy@MIX.COM - 2014-06-19 23:47 +0000
        Re: Unwanted Focus switches nospam <nospam@nospam.invalid> - 2014-06-19 20:00 -0400
          Re: Unwanted Focus switches billy@MIX.COM - 2014-06-20 17:09 +0000
            Re: Unwanted Focus switches nospam <nospam@nospam.invalid> - 2014-06-20 13:17 -0400
            Re: Unwanted Focus switches Paul Sture <nospam@sture.ch> - 2014-06-21 08:39 +0200
        Re: Unwanted Focus switches Paul Sture <nospam@sture.ch> - 2014-06-21 08:32 +0200
  Re: Unwanted Focus switches Lewis <g.kreme@gmail.com.dontsendmecopies> - 2014-06-19 18:20 +0000
  Re: Unwanted Focus switches Martin Frost me at invalid stanford daht edu <nospam@stanford.edu.invalid> - 2014-06-19 18:29 -0700
    Re: Unwanted Focus switches Barry Margolin <barmar@alum.mit.edu> - 2014-06-19 21:54 -0400
      Re: Unwanted Focus switches Martin Frost me at invalid stanford daht edu <nospam@stanford.edu.invalid> - 2014-06-20 02:29 -0700
        Re: Unwanted Focus switches Jolly Roger <jollyroger@pobox.com> - 2014-06-20 16:28 +0000
          Re: Unwanted Focus switches nospam <nospam@nospam.invalid> - 2014-06-20 13:17 -0400
            Re: Unwanted Focus switches Jolly Roger <jollyroger@pobox.com> - 2014-06-20 19:34 +0000
              Re: Unwanted Focus switches nospam <nospam@nospam.invalid> - 2014-06-20 15:59 -0400
                Re: Unwanted Focus switches Jolly Roger <jollyroger@pobox.com> - 2014-06-20 20:06 +0000
        Re: Unwanted Focus switches Alan Browne <alan.browne@FreelunchVideotron.ca> - 2014-06-21 08:26 -0400
    Re: Unwanted Focus switches Alan Browne <alan.browne@FreelunchVideotron.ca> - 2014-06-20 07:52 -0400
      Re: Unwanted Focus switches JF Mezei <jfmezei.spamnot@vaxination.ca> - 2014-06-20 15:05 -0400
        Re: Unwanted Focus switches Barry Margolin <barmar@alum.mit.edu> - 2014-06-20 16:48 -0400
        Re: Unwanted Focus switches Paul Sture <nospam@sture.ch> - 2014-06-21 08:57 +0200
        Re: Unwanted Focus switches Alan Browne <alan.browne@FreelunchVideotron.ca> - 2014-06-21 08:45 -0400
      Re: Unwanted Focus switches Martin Frost me at invalid stanford daht edu <nospam@stanford.edu.invalid> - 2014-06-20 18:08 -0700
        Re: Unwanted Focus switches Paul Sture <nospam@sture.ch> - 2014-06-21 09:12 +0200
  Re: Unwanted Focus switches Savageduck <savageduck1@{REMOVESPAM}me.com> - 2014-06-20 09:27 -0700
    Re: Unwanted Focus switches Alan Browne <alan.browne@FreelunchVideotron.ca> - 2014-06-22 10:36 -0400
      Re: Unwanted Focus switches billy@MIX.COM - 2014-06-22 16:20 +0000
        Re: Unwanted Focus switches Alan Browne <alan.browne@FreelunchVideotron.ca> - 2014-06-22 17:22 -0400
      Re: Unwanted Focus switches Lewis <g.kreme@gmail.com.dontsendmecopies> - 2014-06-22 20:24 +0000
        Re: Unwanted Focus switches Alan Browne <alan.browne@FreelunchVideotron.ca> - 2014-06-22 17:24 -0400
          Re: Unwanted Focus switches Lewis <g.kreme@gmail.com.dontsendmecopies> - 2014-06-22 23:15 +0000
            Re: Unwanted Focus switches Alan Browne <alan.browne@FreelunchVideotron.ca> - 2014-06-23 08:39 -0400
          Re: Unwanted Focus switches Joe Wolf Dee <joedid@email.com> - 2014-06-23 08:00 -0400
            Re: Unwanted Focus switches Joe Wolf Dee <joedid@email.com> - 2014-06-23 08:09 -0400
              Re: Unwanted Focus switches Alan Browne <alan.browne@FreelunchVideotron.ca> - 2014-06-23 08:43 -0400
              Re: Unwanted Focus switches Paul Sture <nospam@sture.ch> - 2014-06-24 15:35 +0200
            Re: Unwanted Focus switches Alan Browne <alan.browne@FreelunchVideotron.ca> - 2014-06-23 08:42 -0400
              Re: Unwanted Focus switches Lewis <g.kreme@gmail.com.dontsendmecopies> - 2014-06-23 14:41 +0000
                Re: Unwanted Focus switches Alan Browne <alan.browne@FreelunchVideotron.ca> - 2014-06-24 07:46 -0400
                Re: Unwanted Focus switches Lewis <g.kreme@gmail.com.dontsendmecopies> - 2014-06-24 12:06 +0000
                Re: Unwanted Focus switches Alan Browne <alan.browne@FreelunchVideotron.ca> - 2014-06-24 18:40 -0400
                Re: Unwanted Focus switches Lewis <g.kreme@gmail.com.dontsendmecopies> - 2014-06-25 03:16 +0000
                Re: Unwanted Focus switches Alan Browne <alan.browne@FreelunchVideotron.ca> - 2014-06-25 07:19 -0400
                Re: Unwanted Focus switches Lewis <g.kreme@gmail.com.dontsendmecopies> - 2014-06-25 21:16 +0000
                Re: Unwanted Focus switches Alan Browne <alan.browne@FreelunchVideotron.ca> - 2014-06-26 06:52 -0400
                Re: Unwanted Focus switches Lewis <g.kreme@gmail.com.dontsendmecopies> - 2014-06-26 15:59 +0000
                Re: Unwanted Focus switches Alan Browne <alan.browne@FreelunchVideotron.ca> - 2014-06-26 17:25 -0400
                Re: Unwanted Focus switches Lewis <g.kreme@gmail.com.dontsendmecopies> - 2014-06-26 22:45 +0000
                Re: Unwanted Focus switches Alan Browne <alan.browne@FreelunchVideotron.ca> - 2014-06-26 20:47 -0400
                Re: Unwanted Focus switches JF Mezei <jfmezei.spamnot@vaxination.ca> - 2014-06-27 01:50 -0400
                Re: Unwanted Focus switches Alan Browne <alan.browne@FreelunchVideotron.ca> - 2014-06-27 06:43 -0400
  Re: Unwanted Focus switches Joe Wolf Dee <joedid@email.com> - 2014-06-20 17:50 -0400
    Re: Unwanted Focus switches Paul Sture <nospam@sture.ch> - 2014-06-21 09:15 +0200
    Re: Unwanted Focus switches Alan Browne <alan.browne@FreelunchVideotron.ca> - 2014-06-21 09:03 -0400
  Re: Unwanted Focus switches -- culprit trapped Alan Browne <alan.browne@FreelunchVideotron.ca> - 2014-06-25 07:21 -0400
    Re: Unwanted Focus switches -- culprit trapped Joe Wolf Dee <joedid@email.com> - 2014-06-25 07:41 -0400
    Re: Unwanted Focus switches -- culprit trapped Jolly Roger <jollyroger@pobox.com> - 2014-06-25 17:25 +0000
      Re: Unwanted Focus switches -- culprit trapped John <Man@the.keyboard> - 2014-06-25 18:34 +0100
      Re: Unwanted Focus switches -- culprit trapped JF Mezei <jfmezei.spamnot@vaxination.ca> - 2014-06-25 14:51 -0400
        Re: Unwanted Focus switches -- culprit trapped nospam <nospam@nospam.invalid> - 2014-06-25 15:04 -0400
        Re: Unwanted Focus switches -- culprit trapped Jolly Roger <jollyroger@pobox.com> - 2014-06-25 19:55 +0000
      Re: Unwanted Focus switches -- culprit trapped nospam <nospam@nospam.invalid> - 2014-06-25 15:04 -0400
        Re: Unwanted Focus switches -- culprit trapped JF Mezei <jfmezei.spamnot@vaxination.ca> - 2014-06-25 15:32 -0400
          Re: Unwanted Focus switches -- culprit trapped nospam <nospam@nospam.invalid> - 2014-06-26 12:22 -0400
        Re: Unwanted Focus switches -- culprit trapped Jolly Roger <jollyroger@pobox.com> - 2014-06-25 20:02 +0000
          Re: Unwanted Focus switches -- culprit trapped nospam <nospam@nospam.invalid> - 2014-06-26 12:22 -0400
            Re: Unwanted Focus switches -- culprit trapped Jolly Roger <jollyroger@pobox.com> - 2014-06-26 17:27 +0000
              Re: Unwanted Focus switches -- culprit trapped billy@MIX.COM - 2014-06-26 19:08 +0000
                Re: Unwanted Focus switches -- culprit trapped nospam <nospam@nospam.invalid> - 2014-06-26 22:03 -0400
                Re: Unwanted Focus switches -- culprit trapped billy@MIX.COM - 2014-06-27 04:41 +0000
                Re: Unwanted Focus switches -- culprit trapped Lewis <g.kreme@gmail.com.dontsendmecopies> - 2014-06-27 04:48 +0000
                Re: Unwanted Focus switches -- culprit trapped billy@MIX.COM - 2014-06-27 08:20 +0000
                Re: Unwanted Focus switches -- culprit trapped Lewis <g.kreme@gmail.com.dontsendmecopies> - 2014-06-27 22:04 +0000
                Re: Unwanted Focus switches -- culprit trapped Alan Browne <alan.browne@FreelunchVideotron.ca> - 2014-06-27 06:36 -0400
                Re: Unwanted Focus switches -- culprit trapped nospam <nospam@nospam.invalid> - 2014-06-28 16:10 -0400
                Re: Unwanted Focus switches -- culprit trapped billy@MIX.COM - 2014-06-29 10:34 +0000
                Re: Unwanted Focus switches -- culprit trapped Jolly Roger <jollyroger@pobox.com> - 2014-06-29 15:11 +0000
                Re: Unwanted Focus switches -- culprit trapped JF Mezei <jfmezei.spamnot@vaxination.ca> - 2014-06-27 01:59 -0400
                Re: Unwanted Focus switches -- culprit trapped billy@MIX.COM - 2014-06-27 08:27 +0000
                Re: Unwanted Focus switches -- culprit trapped nospam <nospam@nospam.invalid> - 2014-06-28 16:10 -0400
                Re: Unwanted Focus switches -- culprit trapped Michelle Steiner <michelle@michelle.org> - 2014-06-27 07:59 -0700
                Re: Unwanted Focus switches -- culprit trapped JF Mezei <jfmezei.spamnot@vaxination.ca> - 2014-06-27 22:08 -0400
                Re: Unwanted Focus switches -- culprit trapped nospam <nospam@nospam.invalid> - 2014-06-28 16:11 -0400
                Re: Unwanted Focus switches -- culprit trapped Michelle Steiner <michelle@michelle.org> - 2014-06-28 22:22 -0700
                Re: Unwanted Focus switches -- culprit trapped JF Mezei <jfmezei.spamnot@vaxination.ca> - 2014-06-29 14:46 -0400
                Re: Unwanted Focus switches -- culprit trapped Michelle Steiner <michelle@michelle.org> - 2014-06-29 13:01 -0700
                Re: Unwanted Focus switches -- culprit trapped Lewis <g.kreme@gmail.com.dontsendmecopies> - 2014-06-29 20:36 +0000
                Re: Unwanted Focus switches -- culprit trapped Michelle Steiner <michelle@michelle.org> - 2014-06-29 13:46 -0700
                Re: Unwanted Focus switches -- culprit trapped Lewis <g.kreme@gmail.com.dontsendmecopies> - 2014-06-29 23:13 +0000
                Re: Unwanted Focus switches -- culprit trapped billy@MIX.COM - 2014-06-29 21:54 +0000
                Re: Unwanted Focus switches -- culprit trapped JF Mezei <jfmezei.spamnot@vaxination.ca> - 2014-06-29 21:40 -0400
                Re: Unwanted Focus switches -- culprit trapped billy@MIX.COM - 2014-06-30 02:12 +0000
                Re: Unwanted Focus switches -- culprit trapped Lewis <g.kreme@gmail.com.dontsendmecopies> - 2014-06-30 02:27 +0000
                Re: Unwanted Focus switches -- culprit trapped JF Mezei <jfmezei.spamnot@vaxination.ca> - 2014-06-30 13:52 -0400
                Re: Unwanted Focus switches -- culprit trapped billy@MIX.COM - 2014-06-30 19:51 +0000
                Re: Unwanted Focus switches -- culprit trapped JF Mezei <jfmezei.spamnot@vaxination.ca> - 2014-06-30 16:07 -0400
                Re: Unwanted Focus switches -- culprit trapped Lewis <g.kreme@gmail.com.dontsendmecopies> - 2014-07-01 02:52 +0000
                Re: Unwanted Focus switches -- culprit trapped billy@MIX.COM - 2014-07-01 15:08 +0000
                Re: Unwanted Focus switches -- culprit trapped JF Mezei <jfmezei.spamnot@vaxination.ca> - 2014-07-01 13:16 -0400
                Re: Unwanted Focus switches -- culprit trapped Alan Browne <alan.browne@FreelunchVideotron.ca> - 2014-07-01 08:19 -0400
                Re: Unwanted Focus switches -- culprit trapped billy@MIX.COM - 2014-07-01 15:12 +0000
                Re: Unwanted Focus switches -- culprit trapped nospam <nospam@nospam.invalid> - 2014-06-28 16:10 -0400
              Re: Unwanted Focus switches -- culprit trapped nospam <nospam@nospam.invalid> - 2014-06-26 22:03 -0400
                Re: Unwanted Focus switches -- culprit trapped Jolly Roger <jollyroger@pobox.com> - 2014-06-27 04:19 +0000
                Re: Unwanted Focus switches -- culprit trapped nospam <nospam@nospam.invalid> - 2014-06-28 16:10 -0400
                Re: Unwanted Focus switches -- culprit trapped Jolly Roger <jollyroger@pobox.com> - 2014-06-28 20:35 +0000
            Re: Unwanted Focus switches -- culprit trapped JF Mezei <jfmezei.spamnot@vaxination.ca> - 2014-06-26 14:42 -0400
              Re: Unwanted Focus switches -- culprit trapped nospam <nospam@nospam.invalid> - 2014-06-26 22:03 -0400
                Re: Unwanted Focus switches -- culprit trapped dorayme <do_ray_me@bigpond.com> - 2014-06-27 18:26 +1000

csiph-web