[openbox] iconifying Chromium on startup

Dana Jansens danakj at orodu.net
Fri Jul 28 17:00:24 EDT 2017


Not really no :/ Should report it at bugs.chromium.org.

On Fri, Jul 28, 2017 at 3:41 PM, Xyne <xyne at archlinux.ca> wrote:

> Thanks for the quick reply. Here's the output that shows that it is indeed
> iconifying and then uniconifying Chromium. I suppose that this is an issue
> with Chromium but is there any way to work around it in Openbox while still
> allowing other windows to be automatically focused?
>
>
> Openbox-Debug: Iconifying window: 0xa00001
> Openbox-Debug: (FOCUS) ignoring enters from 27628 until 27629
> Openbox-Debug: Managed window 0xa00001 plate 0x400879 (Chromium)
> Openbox-Debug: net_wm_state Add 381 382 for 0xa00001
> Openbox-Debug: Sending ConfigureNotify to New Tab - Chromium for 0,0
> 1600x900
> Openbox-Debug: (FOCUS) ignoring enters from 27634 until 27707
> Openbox-Debug: net_active_window for 0xa00001 source=application
> Openbox-Debug: Want to focus window 0xa00001 at time 183164703 launched at
> 0 (last user interaction time 0) request from user, allow other desktop:
> no, desktop switch time 0
> Openbox-Debug: Unknown launch time, using 0 - independent window
> Openbox-Debug: Allowing focus stealing for New Tab - Chromium at time
> 183164703 (last user interaction time 0)
> Openbox-Debug: Uniconifying window: 0xa00001
>
>
>
>
> On 2017-07-28 11:07 -0400
> Dana Jansens wrote:
>
> >It could be that chromium is making itself active. If you run with openbox
> >with --debug --debug-focus you'll get a lot of data what's going on when
> >you open it.
> >
> >On Fri, Jul 28, 2017 at 10:51 AM, Xyne <xyne at archlinux.ca> wrote:
> >
> >> Hi,
> >>
> >> For a couple of years I have had the following in my rc.xml file to
> prevent
> >> browsers from stealing focus when they start up:
> >>
> >>
> >>     <application role="browser">
> >>       <focus>no</focus>
> >>       <iconic>yes</iconic>
> >>     </application>
> >>
> >>
> >> This has worked flawlessly with Firefox and Chromium until recently.
> >> Firefox is
> >> still iconified and unfocused when it starts but Chromium pops up and
> takes
> >> focus. Relevant output from obxprop for the Chromium window:
> >>
> >> _OB_APP_CLASS(UTF8_STRING) = "Chromium"
> >> _OB_APP_NAME(UTF8_STRING) = "chromium"
> >> _OB_APP_ROLE(UTF8_STRING) = "browser"
> >> WM_WINDOW_ROLE(STRING) = "browser"
> >> WM_CLASS(STRING) = "chromium", "Chromium"
> >>
> >> Attempting to catch it with class="chromium" fails as well. Even
> class="*"
> >> fails. Am I missing something or has Chromium simply become incompliant?
> >>
> >> I am using Openbox 3.6.1 and Chromium 60.0.3112.78 on Arch Linux. I can
> >> provide
> >> full obxprop output if needed.
> >>
> >> Thanks in advance for any help.
> >> _______________________________________________
> >> openbox mailing list
> >> openbox at icculus.org
> >> http://icculus.org/mailman/listinfo/openbox
> _______________________________________________
> openbox mailing list
> openbox at icculus.org
> http://icculus.org/mailman/listinfo/openbox
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://icculus.org/pipermail/openbox/attachments/20170728/6c503702/attachment.html>


More information about the openbox mailing list