edit3: arghh thought i had "fixed" this particular problem back to the drawingboard
basically the problem is YssDrop doesn't take care of the anchoring of that frame but the DO does so to fix it i kinda have to hack around that
sounds like the NRT tooltip isn't clamping to screen can you try the latest alpha it should add clamping when it detects that it inst currently clamping but it undoes it right after it moves the frame to hopefully not screw up anything
all in all i think its an NRT problem more than mine (can't reproduce since i don't use NRT and if i test it with it the tooltip isn't big enough) if you want to get adventurous try adding Clamping to NRT yourself and see if that fixes things
Okay, tested with YssDrop-v1.5.4-2-gba67a18. It seems to clamp correctly until I move the mouse off of YssDrop and onto NRT's tablet frame, at which time YssDrop closes and the NRT tablet frame shifts down and a bit off-screen. Screenshots follow:
NRT's tablet frame while mousing over NRT's broker plugin on YssDrop. You can see that the tablet frame is properly clamped to the bottom of the screen. Woot!
NRT's tablet after I move my mouse off of YssDrop and onto NRT's tablet. Note that for some reason the tablet frame has shifted down so that its bottom is now off the bottom of the screen. I scrolled all the way down too so that you can see that the text at the bottom is cut off (see the following screenshot). This is the remaining issue.
NRT opened from DockingStation. Note that the frame is centered below the NRT broker plugin and its bottom is well above the bottom of the screen (also note the text at the bottom).
Not sure what to do, I tinkered with FuBar2Broker's tablet positioning code and it seemed to have no effect from what I could tell.
here is the problem NRT's frame does not have :SetClampedToScreen(true) set as such it can go off the screen even if it would fit on it. at the moment YssDrop finds the frame that is anchored to one of its buttons and reanchores it if necessary and also sets ClampedToScreen. But as soon as YssDrop closes i undo my changes so that the frames are back to their original state before i messed with them.
i bet if you would move dockinstation to the middle of the screen it would behave in the same fashion as YssDrop without the clamping hack (try this please and give me feedback)
there are three things that could happen.
1. fix NRT and make its tooltip/frame Clamp to screen by itself
2. don't use the autohide/show of YssDrop but have it dropdown on click (probably the easiest solution if it works)
3. I could not remove the SetClampedToScreen when YssDrop hides
best solution would be #1 since i am somewhat uncomfortable with setting ClampToScreen on frames that aren't my own as is and leaving it on permanently just sounds really bad to me
my current though is to say screw it and remove the ClampToScreen code all together and let the DO's author deal with it since its their issue and not really mine
The main issue with expecting NRT to clamp its tooltip to the screen on its own is that NRT itself probably doesn't manage its own tooltip. Instead, it uses the Tablet library to manage things.
My question is why does the NRT tablet frame move down when YssDrop autohides? If it stayed in the same place then things would probably be fine, because NRT's tablet frame seems to be sizing itself so that its bottom coincides with the bottom of the screen at the position YssDrop sets it to initially.
I'll try to remember to try the DockingStation test tonight.
i assume it moves because it is supposed to be anchored to the top or bottom of the YssDrop NRT button but because i set it to clap it is moved onto the screen but when clamping gets turned off it moves back to where it is "supposed to be" am gonna look at tablet there should be some way to set it to clamp imo
hmmm looked through tablets code and found this
Clamps fine with DockingStation, doesn't go off-screen at all. If I move the DockingStation bar just above the middle of the screen, NRT overlaps the DockingStation bar a bit and clamps to the bottom of the screen. If I move DockingStation just below the middle, NRT opens upwards instead and and clamps to the top of the screen.
Edit: It probably works fine because DockingStation doesn't auto-hide, so NRT's tablet frame never moves from where it opens.
I did notice that the Dewdrop right-click menu for NRT appeared under the Tablet frame such that the Dewdrop menu was completely obscured, but I was eventually able to find a way to move the mouse off of the Tablet that kept the Dewdrop menu visible. I don't think it will be enough of an issue to worry about.
Hi great addon like it a lot, would it be a possible to add an option so that when i press ESC it closes the drop down? I only ask as i use click to open option and usually press ESC to close my windows.