Again Bindings.

Again Bindings.

Pierre Hébert 

I have this situation:

1 panel

with variables in bindings for Position on Grid > Left, Top, Width, Height. 

Via Script i change this variables.

Left and Top are doing right. Width and Height don’t.

Changes take effect when i do e.g.  recent tasks, or start an app or go to edit mode and back.

i have tried this 

with/without use hardware acceleration

with/without Smooth when transformed 

for panel, for desktop and combinations

different devices with marshmallow

template:

https://drive.google.com/file/d/0BwdfIpCyi8ZVNkl6NUpaYmFsOTA/view?usp=sharing

edit:

it works fine with detached from grid.

]]>

3 Commentsto Again Bindings.

  1. Anonymous says:

    < ![CDATA[

    I can reproduce it. And with some interesting behavior.


    I’ll make a video and post it

    ]]>

  2. Anonymous says:

    < ![CDATA[

    Recording the video while explaining it modifies the behavior, so I’ll simply explain the steps:



    If you place the binding “$ll_timestamp%5+1” in the width of a panel placed in a desktop, any time the desktop is ‘refreshed’ the current value is somehow set as the maximum one.


    With refreshed I mean going to recents, modifying the same or another item from script, and maybe even other events.


    With the maximum value I mean: if you ‘refresh’ when the value is 3, the panel will have those sizes: 1>2>3>3>3>1>2>3>3>3>1>…



    gerd reuter​​: a dirty but working fix is to set the same variables in the binding label of a hidden item (probably also other properties). This forces a refresh of the desktop, and so the panel is shown correctly.

    ]]>

  3. Anonymous says:

    < ![CDATA[

    TrianguloY thank you. i think it SHOULD work without tricky things.



    i do it now with detached panel by calculating the position and dimension: desktopheight / rows (cols) * cells. why calculation? because of different screen resolution…

    ]]>

Leave a Reply

Your email address will not be published. Required fields are marked *