Dear Maintainer and Openbox user,
Yes, I can confirm the bug in openbox:amd64 3.6.1-5 in Debian Buster.
The exact symptom is that we can maximize and restore from a full maximization, we can maximize in one direction either vertically or horizontally. But we can't restore from one directional maximization. And I can confirm that it is introduced by the patch rpi/de67618ea9e3e22e7623d56530934d3a3fc272e0.patch. It is new in version 3.6.1-5 in Buster, not in Stretch. This patch removes codes that save the one directional maximization state, which we need when restoring. Here is a patch I applied. It let me successfully restore from one directional maximization.

--- a/openbox/client.c
+++ b/openbox/client.c
@@ -3522,11 +3522,11 @@
         }
     }

-    if (dir == 0)
-    {
+    // need them to restore from both one directional and full maximization
+    if (dir == 0 || dir == 1) /* horz */
         self->max_horz = max;
+    if (dir == 0 || dir == 2) /* vert */
         self->max_vert = max;
-    }

     if (max) {
         /* make sure the window is on some monitor */

If you need a temporary solution or would like to test this patch, please apply this and re-package openbox.
Thank you.
Bing

On Mon, 28 Aug 2017 10:51:20 +0200 david <brome...@gmail.com> wrote:
> Package: openbox
> Version: 3.6.1-5
> Severity: normal
>
> Dear Maintainer,
>
> Until last package upgrade I have been using these options without problem.
> I have them mapped to Ctrl-Begin and Ctrl-End in numeric keypad.
>
> ToggleMaximizeFull works perfectly.
>
> Thank you very much.
>
> --
> David
>
> -- System Information:
> Debian Release: buster/sid
> APT prefers testing
> APT policy: (500, 'testing'), (1, 'experimental')
> Architecture: amd64 (x86_64)
> Foreign Architectures: i386
>
> Kernel: Linux 4.11.0-1-amd64 (SMP w/4 CPU cores)
> Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8), LANGUAGE=es_ES.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> Init: systemd (via /run/systemd/system)
>
> Versions of packages openbox depends on:
> ii libc6 2.24-14
> ii libglib2.0-0 2.53.4-3
> ii libice6 2:1.0.9-2
> ii libobrender32v5 3.6.1-5
> ii libobt2v5 3.6.1-5
> ii libsm6 2:1.2.2-1+b3
> ii libstartup-notification0 0.12-4+b2
> ii libx11-6 2:1.6.4-3
> ii libxau6 1:1.0.8-1+b2
> ii libxcursor1 1:1.1.14-1+b4
> ii libxext6 2:1.3.3-1+b2
> ii libxi6 2:1.7.9-1
> ii libxinerama1 2:1.1.3-1+b3
> ii libxrandr2 2:1.5.1-1
> ii openbox-menu 0.8.0+hg20161009-1
>
> Versions of packages openbox recommends:
> ii obconf 1:2.0.4+git20150213-2
> ii python-xdg 0.25-4
> ii scrot 0.8-18
>
> Versions of packages openbox suggests:
> ii fonts-dejavu 2.37-1
> pn libxml2-dev <none>
> pn openbox-gnome-session <none>
> pn openbox-kde-session <none>
> ii python 2.7.13-2
> pn tint2 <none>
>
> -- no debconf information
>

Reply via email to