lubuntu-rc.xml config breaks focusNew config

Bug #1682927 reported by clepsdyrae

This bug report will be marked for expiration in 32 days if no further activity occurs. (find out why)

8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lubuntu-default-settings (Ubuntu)
Incomplete
Low
Unassigned

Bug Description

At the end of ~/.config/openbox/lubuntu-rc.xml is this small section:

  <!--
        Lubuntu specific :
        Focus all applications launched
        Usefull when launching applications, like terminal from pcmanfm
  -->
<application class="*">
  <focus>yes</focus>
</application>

...the problem is that this overrides the value of focusNew, set far at the beginning of the file, making it appear as if focusNew does nothing. The same thing happens if you open the GUI openbox configuration manager and uncheck Windows -> "Focus new windows when they appear" -- the setting is ignored.

I'm not sure why it's useful to use that override, but it seems like a better solution should be found.

ProblemType: Bug
DistroRelease: Ubuntu 16.10
Package: openbox 3.6.1-1ubuntu2
ProcVersionSignature: Ubuntu 4.8.0-46.49-generic 4.8.17
Uname: Linux 4.8.0-46-generic x86_64
ApportVersion: 2.20.3-0ubuntu8.2
Architecture: amd64
CurrentDesktop: LXDE
Date: Fri Apr 14 13:15:25 2017
InstallationDate: Installed on 2017-01-12 (92 days ago)
InstallationMedia: Lubuntu 16.10 "Yakkety Yak" - Release amd64 (20161012.1)
SourcePackage: openbox
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
clepsdyrae (myopenid) wrote :
Revision history for this message
Lyn Perrine (walterorlin) wrote :

This is a default setting for lubuntu which is the correct thing for lubuntu.

affects: openbox (Ubuntu) → lubuntu-default-settings (Ubuntu)
Revision history for this message
clepsdyrae (myopenid) wrote :

Thanks -- regardless of the usefulness of the setting, the bigger issue is that if you go to Preferences -> Openbox Configuration Manager -> Windows and uncheck "Focus new windows when they appear" it has no effect, because of this <application> section.

I just tested the behavior when that section is removed, and as the ~/.config/openbox/lubuntu-rc.xml file implies, hitting F4 in pcmanfm will open a terminal without changing focus to it, despite focusNew being set to "Yes", so I understand the motivation there. But maybe this is a bug in openbox or pcmanfm that could be addressed?

Or, if that is the only known reason for using the <application> section, perhaps it could be narrowed to lxterminal. It just feels a little unfinished, and confuses users like myself. :-)

Revision history for this message
dino99 (9d9) wrote :

This is an unsupported release now. Please think to install the next LTS 'Bionic 18.04'

http://cdimage.ubuntu.com/ubuntu-next/daily-live/current/
https://www.omgubuntu.co.uk/2018/02/ubuntu-18-04-minimal-install-option

Changed in lubuntu-default-settings (Ubuntu):
status: New → Invalid
Revision history for this message
Simon Quigley (tsimonq2) wrote :

No, marking as Invalid because the release is EOL is not correct. Please don't do this, dino99.

Reporter, is this still present on 17.10?

Changed in lubuntu-default-settings (Ubuntu):
status: Invalid → Incomplete
Revision history for this message
clepsdyrae (myopenid) wrote :

Sorry, I've been lost in GRUB hell for months... haven't updated... will report on current status ASAP. Thanks!

Revision history for this message
clepsdyrae (myopenid) wrote :

Just updated -- yes, the bug is still present in 17.10.

Revision history for this message
Simon Quigley (tsimonq2) wrote :

This likely won't be completed before 18.04 is released (unless you can contribute a patch before ~ Monday, I won't have the time) but I'll certainly get it fixed for the 18.10 release.

Changed in lubuntu-default-settings (Ubuntu):
status: Incomplete → New
importance: Undecided → Low
assignee: nobody → Simon Quigley (tsimonq2)
Revision history for this message
clepsdyrae (myopenid) wrote :

I would if I had the expertise. :-) Thanks for the attention to it!

Simon Quigley (tsimonq2)
Changed in lubuntu-default-settings (Ubuntu):
assignee: Simon Quigley (tsimonq2) → nobody
Revision history for this message
ԜаӀtеr Ⅼарсһуnѕkі (wxl) wrote :

We're no longer using LXDE but LXQt (so pcmanfm-qt not pcmanfm) and though we are still using Openbox we are using a different GUI tool (obconf-qt). That said, I would check to see if this is still valid.

Changed in lubuntu-default-settings (Ubuntu):
status: New → Incomplete
Revision history for this message
clepsdyrae (myopenid) wrote :

Is 22.04.4 an appropriate version to test?

Revision history for this message
ԜаӀtеr Ⅼарсһуnѕkі (wxl) wrote :

Sure, but it might be worthwhile to check both it and 23.10.

Revision history for this message
clepsdyrae (myopenid) wrote :

Thanks, I hope to have some time in April to check it out.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.