Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 453646 - x11-wm/openbox-3.5.0_p20121006: problem with the ResizeRelative function
Summary: x11-wm/openbox-3.5.0_p20121006: problem with the ResizeRelative function
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Markos Chandras (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-23 09:22 UTC by Miquee S.
Modified: 2013-02-15 22:21 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Miquee S. 2013-01-23 09:22:10 UTC
The problem concerns the use of the bound ResizeRelative function in the rc.xml file. Since the lattest update, the resizing with a negative number does not work properly anymore. 
Indeed, whereas reducing the window size, as expected, it is growing.

Reproducible: Always

Steps to Reproduce:
1. emerge openbox
2. configure the ~/.config/openbox/rc.xml file with the following:
<keybind key="C-S-Down">
  <action name="ResizeRelative">
    <bottom>5</bottom>
   </action>
</keybind>
<keybind key="C-S-Up">
  <action name="ResizeRelative">
    <bottom>-5</bottom>
  </action>
</keybind>
<keybind key="C-S-Left">
  <action name="ResizeRelative">
    <right>-5</right>
  </action>
</keybind>
<keybind key="C-S-Right">
  <action name="ResizeRelative">
    <right>5</right>
  </action>
</keybind>
3. try to resize a window with the previously defined keybindings
Actual Results:  
The resizing does not work properly. The window grows instead of reducing.

Expected Results:  
The window size has to reduce, not grow.
Comment 1 Markos Chandras (RETIRED) gentoo-dev 2013-01-30 19:21:10 UTC
Did you contact upstream about that? Could you check if it happens with the -9999 ebuild?
Comment 2 Miquee S. 2013-02-01 13:37:11 UTC
(In reply to comment #1)
> Did you contact upstream about that? Could you check if it happens with the
> -9999 ebuild?

I just tried to install the -9999 version, and the bug is corrected. So it seems to be a problem with the version 3.5 of the package (I don't know if it comes from a Gentoo patch or if it is upstream).

Just an other point is that with this version (9999), the wm is clearly more reactive than the "normal" version. Application's windows appear really more quickly and are more fluid.
Comment 3 Markos Chandras (RETIRED) gentoo-dev 2013-02-06 18:21:53 UTC
3.5.0_p20121006 is a snapshot from the upstream git code. It's probably time to make a new snapshot if this is fixed in git.
Comment 4 Markos Chandras (RETIRED) gentoo-dev 2013-02-15 22:21:11 UTC
It should be fixed in 3.5.0_p20130215