|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4690 Location: Pensacola, FL, USA
|
Posted: Tue Mar 15, 2011 10:22 pm
%autohide |
This does not appear to work according to documentation.
%autohide( WindowName, %i)
%i=0 ---- supposed to hide the window
i targeted a non hiding window and it gave the window focus instead of enabling autohide
%i=-1 ---- supposed to show the window for a few seconds
i assumed this meant flyout, it doesnt, it turns off the autohide setting, then turns it back on
A. tabbed to right of main session window - Not very useful to be, especially with my having a large scrollback buffer (10000 lines) which took a LONG time to rebuffer, CMUD hanging all the while
B. tabbed to bottom of child window which is tabbed to right of main session window - No hang, but it turns the window to freefloating and undocked, then it doesn't know where it is supposed to return when autohide gets re-enabled. (Also, even though it was tabbed to the bottom of the window, it ends up on the right side of the application window when autohide gets enabled)
%i=1 ---- supposed to show the window
Using B in the above example, while hovering over the body of the window to keep it open while the main window had focus - becomes a freefloating undocked window
Using A and hovering - Hangs as autohide is turned off, reverts to docked state.
P.S. CMUD seems to hang longer on rebuffering when the window's width is made greater, and less when it gets confined to a smaller area.. which seems backwards somehow. |
|
_________________ Discord: Shalimarwildcat |
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Tue Mar 15, 2011 11:18 pm |
I guess it's just as well that I didn't document this after all. All %autohide does is set/reset the autohide property for a window in the 3rd party docking system. If it's not working then it's going to be an issue with this property and how it's really supposed to be used in code. Not something I'll be able to fix quickly in the next bug fix version I don't think. Probably best to just avoid it for now.
|
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4690 Location: Pensacola, FL, USA
|
Posted: Tue Mar 15, 2011 11:54 pm |
Alright.
As far as the toggle goes, it is working as expected. But toggling this by script is not all that useful.
But the docking system is having trouble remembering nested window positions.
On the other hand.. %flyout(WindowName, %i) where %i=seconds to remain open, default value when left blank
I could use that |
|
_________________ Discord: Shalimarwildcat |
|
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|