Aui -Htmlwindow

If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
Post Reply
Wolfgang
I live to help wx-kind
I live to help wx-kind
Posts: 180
Joined: Mon Jan 28, 2019 8:22 am

Aui -Htmlwindow

Post by Wolfgang »

Hello

I have a frame with an AUI Manager, everything works right.

Only Problem, if I start a seperate floating pane, which is not dockable but resizeable, it is resizable, if I did not start any other frame before i opened the pane.
If I first start a other frame (even if I close it right after it), all works normally only the resizing is not possible any more if the pane is opened afterwards.

Any ideas, what can be the reason for it?
Wolfgang
I live to help wx-kind
I live to help wx-kind
Posts: 180
Joined: Mon Jan 28, 2019 8:22 am

Re: Aui -Htmlwindow

Post by Wolfgang »

What I forgot, I use it in Linux.
ONEEYEMAN
Part Of The Furniture
Part Of The Furniture
Posts: 7459
Joined: Sat Apr 16, 2005 7:22 am
Location: USA, Ukraine

Re: Aui -Htmlwindow

Post by ONEEYEMAN »

Hi,
What's wx version?
What is the GTK+ verion you compiled it against?
Can you reproduce it in auidemo sample?

Thank you.
Wolfgang
I live to help wx-kind
I live to help wx-kind
Posts: 180
Joined: Mon Jan 28, 2019 8:22 am

Re: Aui -Htmlwindow

Post by Wolfgang »

GTK 3.0
WxWidgets 3.1.3

In the sample I did not try it yet, anyway there is resize to a not dockable not included so i will have to rewrite it.
Will do that in the next days.

But as said it works as long as I open the other panes first and only then open other frames. If I open another frame first the resize is not shown at all.
ONEEYEMAN
Part Of The Furniture
Part Of The Furniture
Posts: 7459
Joined: Sat Apr 16, 2005 7:22 am
Location: USA, Ukraine

Re: Aui -Htmlwindow

Post by ONEEYEMAN »

Hi,
What is an exact GTK+ version?
And it would be interesting to have a reproducer...

Thank you.
Wolfgang
I live to help wx-kind
I live to help wx-kind
Posts: 180
Joined: Mon Jan 28, 2019 8:22 am

Re: Aui -Htmlwindow

Post by Wolfgang »

Lib gtk 3.24.5-1
Wolfgang
I live to help wx-kind
I live to help wx-kind
Posts: 180
Joined: Mon Jan 28, 2019 8:22 am

Re: Aui -Htmlwindow

Post by Wolfgang »

I tried just to add Resizable(true) to one of the Oncreate in the originial AuiDemo and there the resize posibility is not shown at all. So resizeable not possible.

How I managed that it is shown by mine, I do not know, and also why it is shown when new pane is created before new frames are created. And why not when first a new frame is created.
ONEEYEMAN
Part Of The Furniture
Part Of The Furniture
Posts: 7459
Joined: Sat Apr 16, 2005 7:22 am
Location: USA, Ukraine

Re: Aui -Htmlwindow

Post by ONEEYEMAN »

Hi,
Could you please post a smallest possible self-compiled code to reproduce the issue?
Also - it would be nice if you could check other platforms (even though AUI code is generic).

Thank you.
Wolfgang
I live to help wx-kind
I live to help wx-kind
Posts: 180
Joined: Mon Jan 28, 2019 8:22 am

Re: Aui -Htmlwindow

Post by Wolfgang »

Windows is working. did you try the normal demo and just add Resizable, inside one of the onCreate methods? And this in Linux?
Wolfgang
I live to help wx-kind
I live to help wx-kind
Posts: 180
Joined: Mon Jan 28, 2019 8:22 am

Re: Aui -Htmlwindow

Post by Wolfgang »

That is the one I used to have the same code as in my programm:

Code: Select all

void MyFrame::OnCreateTree(wxCommandEvent& WXUNUSED(event))
{
    m_mgr.AddPane(CreateTreeCtrl(), wxAuiPaneInfo().
                  Name("Test").Resizable(true).Caption("Bibel").CloseButton(true).Dockable(false).Float().CaptionVisible(true).MaximizeButton(true).MinimizeButton(true).PaneBorder(true));
    m_mgr.Update();
}
Wolfgang
I live to help wx-kind
I live to help wx-kind
Posts: 180
Joined: Mon Jan 28, 2019 8:22 am

Re: Aui -Htmlwindow

Post by Wolfgang »

With not shown at all I mean, in Linux I see the right lower corner marked if I can resize it. And it is not marked when I use the standard aui demo and add Resizable(true) to it.

In my programm it is only shown, wehn I open the pane(s) before I opened another frame.
Wolfgang
I live to help wx-kind
I live to help wx-kind
Posts: 180
Joined: Mon Jan 28, 2019 8:22 am

Re: Aui -Htmlwindow

Post by Wolfgang »

I guess I now found a possible reason for the problem.
Not that I would be able to change it.

But I try to explain what I think the problem is.

In Linux the resize will be most likely generic, but only for frames and (windows) not for panes of AUI.

In my case I somehow managed to get the resize running because I use a wxhtmlwindow in it. What I do not know why I loose the abbility when another frame is opened first, from the Frame which holds the aui manager.

What I found in the internet that AUI pane not resizable is only a problem with gtk+ 3 not with 2.
ONEEYEMAN
Part Of The Furniture
Part Of The Furniture
Posts: 7459
Joined: Sat Apr 16, 2005 7:22 am
Location: USA, Ukraine

Re: Aui -Htmlwindow

Post by ONEEYEMAN »

Hi,
One more thing - are yu testing under X or Waylad?

Thank you.
Wolfgang
I live to help wx-kind
I live to help wx-kind
Posts: 180
Joined: Mon Jan 28, 2019 8:22 am

Re: Aui -Htmlwindow

Post by Wolfgang »

gnome but wayland switched off.
Post Reply