Fun with Desktop and Panels
I've been attempting to reorganize the desktop a bit. My first task was to get rid of the "sidebar" and add a more modern method of navidation.
I came up with this during my proof of concept work.
https://i.imgur.com/FsF07dr.png
As you can see, it's a simple menu that mimics the pretty standard location and function.
The problem I'm having is that it appears that the panel "covers" the items below it even when not showing. If you've not opened the menu you can right click on a portrait and see the standard "kick/chat/etc" menu option on the portrait. However after I open and close the "Menu" drop down it then just gives the typical "right click" desktop options when clicking on the portrait again.
So then I tried...
I thought maybe I could just have a standalone window come up then, because I know it can overlay and when closed doesn't cause a problem... however when I tried that the Interface.openWindow() window is just stuffed into the panel and not over the desktop and obviously the to small for that.
Here is a example of what I'm working with right now for the panel entry.
Code:
<!-- menu button panel -->
<panel name="menulist" modes="host,client">
<class>menulist_window</class>
<anchored height="30" width="50">
<left offset="1" />
<top />
</anchored>
</panel>
If there is a way to use the desktop panels and not collide with chat window and portraits I'd be interested in suggestions.
Worst case I could put the Menu button on the chat window but ... I'd rather not. I'm hoping to go for something almost everyone will be familiar with.