** Description changed:

- The checkbox "Center new windows when they are placed" doesn't seem to
- do anything and reset itself when I close obconf-qt. When I change other
- options, the file .config/openbox/lxqt-rc.xml get changed but the
- element openbox_conf.placement.center doesn't.
+ [ Impact ]
  
- ProblemType: Bug
- DistroRelease: Ubuntu 20.10
- Package: obconf-qt 0.15.0-0ubuntu1
- ProcVersionSignature: Ubuntu 5.8.0-44.50-generic 5.8.18
- Uname: Linux 5.8.0-44-generic x86_64
- ApportVersion: 2.20.11-0ubuntu50.5
- Architecture: amd64
- CasperMD5CheckResult: skip
- CurrentDesktop: LXQt
- Date: Thu Feb 25 20:34:38 2021
- InstallationDate: Installed on 2021-02-18 (7 days ago)
- InstallationMedia: Lubuntu 20.10 "Groovy Gorilla" - Release amd64 (20201022)
- SourcePackage: obconf-qt
- UpgradeStatus: No upgrade log present (probably fresh install)
+  * The configuration manager for Openbox, obconf-qt, has an option to
+ center new windows. In versions previous to 1.6.2, the checkbox had no
+ effect and would appear unchecked when reopening the application.
+ There's no error, but a silent failure.
+ 
+  * To make matters more confusing, the default settings for Lubuntu,
+ where Openbox is the default window manager, include setting the related
+ setting to on. In other words, the default behavior is to center the
+ windows, but when you look at the configuration manager, it does not
+ appear to be the case.
+ 
+  * In addition, the function is maybe not what one would intuitively
+ expect. It does not center every window, but prefers to place windows in
+ the center if free space is available. So the first window will be
+ centered, but if a second one is placed, it will open in the periphery.
+ This will continue until the full space is occupied and then windows
+ will open again in the center and the cycle repeats.
+ 
+  * These three factors make for a really confusing experience for the
+ end user.
+ 
+  * The delta is very small, merely adding in an on toggled event.
+ 
+ [ Test Plan ]
+ 
+  * To reproduce the bug:
+    1. Use a Lubuntu Jammy ISO
+    2. Inspect the default configuration file 
/etc/xdg/xdg-Lubuntu/openbox/rc.xml and note that the <center> tag under 
<placement> is set to "yes."
+    3. Note that a local configuration file ~/.config/openbox/rc.xml does not 
exist
+    4. Open obconf-qt (see Preferences → LXQt Settings → Openbox Settings)
+    5. Click on the Windows tab on the left
+    6. Note that "Center new windows when placed" is unchecked
+    7. Check the check box and hit close
+    8. Note that the default configuration file is unchanged but a new local 
configuration file is created where <center> is set to "yes"
+    9. Open the Windows tab in obconf-qt again and note that the check box is 
still unchecked
+   10. Check and uncheck the box (which should set center to "no")
+   11. Note that the <center> tag is still set to "yes" in the local 
configuration
+ 
+  * To test the fix
+    1. Use a Lubuntu Jammy ISO
+    2. Install the new version of obconf-qt
+    3. Remembering that centering is the default in the configuration file and 
the buggy version shows that it is not checked, open obconf-qt and note that 
now the option *is* checked
+    4. Uncheck the box
+    5. Inspect the local configuration file and note that <center> is now set 
to "no"
+ 
+ [ Where problems could occur ]
+ 
+  * Honestly, I think the only problem that could occur is that, based on
+ the string description of the setting, users may expect all new windows
+ to open in the center. That certainly is what it is described, but it's
+ not the case. In fact, even the comment in the configuration file, while
+ being slightly more descriptive, is still not exactly correct ("whether
+ to place windows in the center of the free area found or the top left
+ corner").
+ 
+ [ Other Info ]
+  
+  * One additional part to the upload is an update to the watch file. In an 
ideal world, the SRU wouldn't have included this, but it was necessary to use 
uscan to download the source. It will have no negative effect.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1916897

Title:
  Center windows option has no effect

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/obconf-qt/+bug/1916897/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to