#814 apps' [Deco] doesn't work as expected in 1.0

closed-fixed
nobody
None
5
2007-10-21
2007-10-20
Luke Skywalker
No

I have following entry in my apps file:

[app] (name=urxvt)
[Deco] {0x4}
[end]

With fluxbox-0.9, this did the expected thing - urxvt windows only had the bottom decoration (resizing handles).

Now in 1.0 (be it 1.0_rc? or 1.0.0), I can either choose {NONE} to have no decoration, or any other value to have all decoration. I tried messing with different bitmask values, but the result is always the same.

I haven't found anything about this in your docs, so I assume window decoration configuration was not supposed to change...

Discussion

  • Logged In: YES
    user_id=1538990
    Originator: NO

    There's no '0x', and there never was as far as I can remember. Though since we're calling it a bitmask, I should probably add that.

     
    • status: open --> closed-invalid
     
  • Luke Skywalker
    Luke Skywalker
    2007-10-21

    Logged In: YES
    user_id=861633
    Originator: YES

    Initially, I had '4' there, but 1.0 added the '0x'.

     
  • Logged In: YES
    user_id=1538990
    Originator: NO

    No, 1.0 did not add the 0x. I added it 20 minutes ago. By the way, 4 is the border. 2 is the handle.

     
  • Luke Skywalker
    Luke Skywalker
    2007-10-21

    • status: closed-invalid --> open
     
  • Luke Skywalker
    Luke Skywalker
    2007-10-21

    Logged In: YES
    user_id=861633
    Originator: YES

    Another thing is that both '4' and '0x4' seem to be valid values in 0.9, as I'm getting exactly what I want with both - a window with only bottom resizing handles.

    In 1.0, however, neither '4', nor '0x4' works - I'm getting full decorations on any window, unless {NONE} is set for decorations.

    Sorry guys, I can't accept this bug as invalid unless you point out what am I doing wrong. Should I upload my config files here?

     
  • Luke Skywalker
    Luke Skywalker
    2007-10-21

    Logged In: YES
    user_id=861633
    Originator: YES

    Ah, right - 2 is the bit I want. 4 comes from my trying to set various bits to see if it makes any change.

    Anyway, my latest finding on the issue:

    My .xinitrc contains only "startfluxbox". My apps file contains [Deco] {2} for urxvt. When I start fluxbox (via startx), urxvt has correct window decoration. As soon as I exit fluxbox, however, apps file setting changes to [Deco] {0x2} for urxvt.

    When I start fluxbox now, it of course doesn't understand the '0x2' and urxvt windows have full decoration. When I exit fluxbox now, the [Deco] setting from urxvt disappears, so all that's left is:

    [app] (name=urxvt)
    [end]

     
    • status: open --> closed-fixed
     
  • Logged In: YES
    user_id=1538990
    Originator: NO

    Hmmm. Yup, you're right about that. Well, I already modified svn to understand the 0x, so there's not much else I can do. I guess I'll change the status to fixed.