Kirix Support Forums

Bugs and Feature Requests

Please post all general questions, comments, bug reports, and any other wxAUI feedback here.

Bugs and Feature Requests

Postby disasm on Tue Jan 10, 2006 9:07 pm

Two thumbs up to the programmers of wxAUI! I think wxAUI is a great library! I plan to use it in my applications sometime soon.

Bug report: I have noticed that if you click the X for a pane docked using wxAUI 0.9.1 and hold the mouse button down and then move the mouse off the X and let go, that the pane disappears anyways.

Feature requests: Tabs! Tabs would be a great feature for wxAUI. I'm sure you've heard plenty about tabs, so I won't ask any more about them now.

Would it be possible to draw some kind of separator line between the menubar and the docked toolbars? Without something like this it looks a bit funny. It also seems like there shouldn't be any separator line between the edge of the frame and the left side of a toolbar docked all the way against the edge of the frame.

Lastly, is it possible to get rid of the "content" area, so basically all I have is an app with dockable panes? My idea really requires tabs support, but my idea is this: My app will be an MDI-style app. But I want to be able to dock the MDI windows and switch between them with tabs. Or the user can undock some of them and float them. If they were all docked as tabs, I wouldn't want the MDI area anymore because there wouldn't be any MDI child windows to show.
disasm
Registered User
 
Posts: 16
Joined: Tue Jan 10, 2006 8:56 pm

Postby 280Z28 on Tue Jan 10, 2006 9:32 pm

Bug fix:

In wxFrameManager::OnLeftUp(wxMouseEvent& event)

Replace this block:

Code: Select all
        // fire button-click event
        wxFrameManagerEvent e(wxEVT_AUI_PANEBUTTON);
        e.SetPane(m_action_part->pane);
        e.SetButton(m_action_part->button->button_id);
        ProcessMgrEvent(e);


with this block:

Code: Select all
        // make sure we're still over the item that was originally clicked
        if (m_action_part == HitTest(event.GetX(), event.GetY()))
        {
            wxFrameManagerEvent e(wxEVT_AUI_PANEBUTTON);
            e.SetPane(m_action_part->pane);
            e.SetButton(m_action_part->button->button_id);
            ProcessMgrEvent(e);
        }
280Z28
Registered User
 
Posts: 12
Joined: Sun Jan 01, 2006 10:16 pm
Location: Austin, TX > *

Postby Ben on Wed Jan 11, 2006 12:49 am

Thanks. I applied this.

All the best,
Ben
User avatar
Ben
Kirix Support Team
 
Posts: 525
Joined: Mon Dec 19, 2005 6:29 am

Postby Ben on Wed Jan 11, 2006 12:55 am

Tabs! Tabs would be a great feature for wxAUI. I'm sure you've heard plenty about tabs, so I won't ask any more about them now.


Yup. It's on the roadmap. Hopefully someone will implement it before I have to :-)

Would it be possible to draw some kind of separator line between the menubar and the docked toolbars? Without something like this it looks a bit funny. It also seems like there shouldn't be any separator line between the edge of the frame and the left side of a toolbar docked all the way against the edge of the frame.


This work is up and coming. We haven't started on heavy toolbar work, but when we do, you should see all these problems go away. We're very concerned about the pixel-level look-and-feel of our application, so no pixel will go unnoticed. :-)

I'm pretty upset by the Luna theme's forced white line underneath the menu bar. There isn't much I can do about it. Sometimes I've been tempted to haul out wxWindowDC and paint over it, but that seems a bit brute force. I think this line is corrected in the upcoming Vista.

Lastly, is it possible to get rid of the "content" area, so basically all I have is an app with dockable panes? My idea really requires tabs support, but my idea is this: My app will be an MDI-style app. But I want to be able to dock the MDI windows and switch between them with tabs. Or the user can undock some of them and float them. If they were all docked as tabs, I wouldn't want the MDI area anymore because there wouldn't be any MDI child windows to show.


Our app is moving in this direction, too. I'd also like to see these abilities. We'll see how things develop. In the meantime, I'll accept any patches in this direction.

All the best,
Ben
User avatar
Ben
Kirix Support Team
 
Posts: 525
Joined: Mon Dec 19, 2005 6:29 am

Just use the simple wxCoolBar

Postby tenmon on Wed Jan 18, 2006 9:18 pm

bwilliams wrote:I'm pretty upset by the Luna theme's forced white line underneath the menu bar.


You can easily solve that on wxMSW, by using wxCoolBar, which implements native rebar: http://www.planet-berlin-it.de/wx/wxcoolbar/

without wxCoolBar:
Image

with wxCoolBar:
Image
tenmon
Registered User
 
Posts: 9
Joined: Wed Dec 28, 2005 7:16 pm

Return to wxAUI Questions, Thoughts & Feedback