#14710: Bad wxAuiNotebook child position (theming problem ?)
The group you are posting to is a
Usenet group . Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
From:
"wxTrac" <nore... @wxsite.net>
Date: Fri, 28 Sep 2012 09:11:26 -0000
Local: Fri, Sep 28 2012 5:11 am
Subject: #14710: Bad wxAuiNotebook child position (theming problem ?)
Ticket URL: <
http://trac.wxwidgets.org/ticket/14710 >
#14710: Bad wxAuiNotebook child position (theming problem ?)
---------------------------+----------------------------------------------- -
Reporter: EmilienKia | Owner: Type: defect | Status: new
Priority: normal | Milestone: Component: wxAui | Version: 2.9-svn
Keywords: wxAuiNotebook | Blockedby: Patch: 0 | Blocking: ---------------------------+----------------------------------------------- -
Hi all,
This is a little problem of theming with wxAuiNotebook on Linux
(wxAuiGtkTabArt): child windows are not well placed relative to theme.
They use all available width without letting space to border theme.
The problem is visible on screenshots (AUI sample versus Pluma/Gedit).
Best regards,
Emilien
--
Ticket URL: <http://trac.wxwidgets.org/ticket/14710 >
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
"wxTrac" <nore... @wxsite.net>
Date: Fri, 28 Sep 2012 23:47:11 -0000
Local: Fri, Sep 28 2012 7:47 pm
Subject: Re: #14710: Bad wxAuiNotebook child position (theming problem ?)
Ticket URL: <
http://trac.wxwidgets.org/ticket/14710#comment:1 >
#14710: Bad wxAuiNotebook child position (theming problem ?)
---------------------------+----------------------------------------------- -
Reporter: EmilienKia | Owner: Type: defect | Status: new
Priority: normal | Milestone: Component: wxAui | Version: 2.9-svn
Keywords: wxAuiNotebook | Blockedby: Patch: 0 | Blocking: ---------------------------+----------------------------------------------- -
Changes (by vadz):
* cc: jens (added)
Comment:
Just adding jens to the cc in the hope he might be able to look at this.
--
Ticket URL: <http://trac.wxwidgets.org/ticket/14710#comment:1 >
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
"wxTrac" <nore... @wxsite.net>
Date: Sat, 29 Sep 2012 12:30:31 -0000
Local: Sat, Sep 29 2012 8:30 am
Subject: Re: #14710: Bad wxAuiNotebook child position (theming problem ?)
Ticket URL: <
http://trac.wxwidgets.org/ticket/14710#comment:2 >
#14710: Bad wxAuiNotebook child position (theming problem ?)
---------------------------+----------------------------------------------- -
Reporter: EmilienKia | Owner: Type: defect | Status: new
Priority: normal | Milestone: Component: wxAui | Version: 2.9-svn
Keywords: wxAuiNotebook | Blockedby: Patch: 0 | Blocking: ---------------------------+----------------------------------------------- -
Comment(by jens):
Replying to [comment:1 vadz]:
> Just adding jens to the cc in the hope he might be able to look at this.
I will look into it.
--
Ticket URL: <http://trac.wxwidgets.org/ticket/14710#comment:2 >
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
"wxTrac" <nore... @wxsite.net>
Date: Mon, 01 Oct 2012 08:52:46 -0000
Local: Mon, Oct 1 2012 4:52 am
Subject: Re: #14710: Bad wxAuiNotebook child position (theming problem ?)
Ticket URL: <
http://trac.wxwidgets.org/ticket/14710#comment:3 >
#14710: Bad wxAuiNotebook child position (theming problem ?)
---------------------------+----------------------------------------------- -
Reporter: EmilienKia | Owner: Type: defect | Status: new
Priority: normal | Milestone: Component: wxAui | Version: 2.9-svn
Keywords: wxAuiNotebook | Blockedby: Patch: 0 | Blocking: ---------------------------+----------------------------------------------- -
Comment(by jens):
Just for the record:
It's not a tabart(gtk) problem.
The tabart-classes draw the tab-control, but not the part that contains
the pane assigend to the tab.
Changes have to be done in the dockart, floatpane and framemanager
sources.
I think it should be possible to add something like dockartgtk.
But this will (most likely) take a little longer, than just fixing
existing drawing code in tabartgtk.
Nevertheless: I start working on it.
--
Ticket URL: <http://trac.wxwidgets.org/ticket/14710#comment:3 >
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
"wxTrac" <nore... @wxsite.net>
Date: Sat, 06 Oct 2012 20:44:05 -0000
Local: Sat, Oct 6 2012 4:44 pm
Subject: Re: #14710: Bad wxAuiNotebook child position (theming problem ?)
Ticket URL: <
http://trac.wxwidgets.org/ticket/14710#comment:4 >
#14710: Bad wxAuiNotebook child position (theming problem ?)
---------------------------+----------------------------------------------- -
Reporter: EmilienKia | Owner: Type: defect | Status: new
Priority: normal | Milestone: Component: wxAui | Version: 2.9-svn
Keywords: wxAuiNotebook | Blockedby: Patch: 1 | Blocking: ---------------------------+----------------------------------------------- -
Changes (by jens):
* patch: 0 => 1
Comment:
I attach a patch, that fixes the described issue.
The patch let the notebooks render the pan-border themselves, instead of
doing this in dockart.cpp.
The size of the tab's content-window will be decreased accordingly.
--
Ticket URL: <http://trac.wxwidgets.org/ticket/14710#comment:4 >
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
"wxTrac" <nore... @wxsite.net>
Date: Sat, 06 Oct 2012 21:33:49 -0000
Local: Sat, Oct 6 2012 5:33 pm
Subject: Re: #14710: Bad wxAuiNotebook child position (theming problem ?)
Ticket URL: <
http://trac.wxwidgets.org/ticket/14710#comment:5 >
#14710: Bad wxAuiNotebook child position (theming problem ?)
---------------------------+----------------------------------------------- -
Reporter: EmilienKia | Owner: Type: defect | Status: new
Priority: normal | Milestone: 2.9.5
Component: wxAui | Version: 2.9-svn
Keywords: wxAuiNotebook | Blockedby: Patch: 1 | Blocking: ---------------------------+----------------------------------------------- -
Changes (by vadz):
* cc: mmacleod@… (added)
* milestone: => 2.9.5
Comment:
Looks fine to me, thanks!
Malcolm, OK to apply or would you prefer to wait for your merge/include
this in it?
--
Ticket URL: <http://trac.wxwidgets.org/ticket/14710#comment:5 >
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
"wxTrac" <nore... @wxsite.net>
Date: Sun, 07 Oct 2012 08:18:58 -0000
Local: Sun, Oct 7 2012 4:18 am
Subject: Re: #14710: Bad wxAuiNotebook child position (theming problem ?)
Ticket URL: <
http://trac.wxwidgets.org/ticket/14710#comment:6 >
#14710: Bad wxAuiNotebook child position (theming problem ?)
---------------------------+----------------------------------------------- -
Reporter: EmilienKia | Owner: Type: defect | Status: new
Priority: normal | Milestone: 2.9.5
Component: wxAui | Version: 2.9-svn
Keywords: wxAuiNotebook | Blockedby: Patch: 1 | Blocking: ---------------------------+----------------------------------------------- -
Comment(by mmacleod):
Think you can go ahead on this one, thanks.
--
Ticket URL: <http://trac.wxwidgets.org/ticket/14710#comment:6 >
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
"wxTrac" <nore... @wxsite.net>
Date: Sun, 07 Oct 2012 22:36:37 -0000
Local: Sun, Oct 7 2012 6:36 pm
Subject: Re: #14710: Bad wxAuiNotebook child position (theming problem ?)
Ticket URL: <
http://trac.wxwidgets.org/ticket/14710#comment:7 >
#14710: Bad wxAuiNotebook child position (theming problem ?)
---------------------------+----------------------------------------------- -
Reporter: EmilienKia | Owner: Type: defect | Status: new
Priority: normal | Milestone: Component: wxAui | Version: 2.9-svn
Keywords: wxAuiNotebook | Blockedby: Patch: 1 | Blocking: ---------------------------+----------------------------------------------- -
Changes (by vadz):
* milestone: 2.9.5 =>
Comment:
Unfortunately applying the patch results in the following when running aui
sample under Linux:
{{{
(auidemo:12421): Gdk-CRITICAL **: gdk_drawable_get_depth: assertion
`GDK_IS_DRAWABLE (drawable)' failed
(auidemo:12421): Gtk-CRITICAL **: gtk_paint_box: assertion `style->depth
== gdk_drawable_get_depth (window)' failed
(auidemo:12421): Gdk-CRITICAL **: gdk_drawable_get_depth: assertion
`GDK_IS_DRAWABLE (drawable)' failed
(auidemo:12421): Gtk-CRITICAL **: gtk_paint_box: assertion `style->depth
== gdk_drawable_get_depth (window)' failed
(auidemo:12421): Gdk-CRITICAL **: gdk_drawable_get_depth: assertion
`GDK_IS_DRAWABLE (drawable)' failed
(auidemo:12421): Gtk-CRITICAL **: gtk_paint_box: assertion `style->depth
== gdk_drawable_get_depth (window)' failed
(auidemo:12421): Gdk-CRITICAL **: gdk_drawable_get_depth: assertion
`GDK_IS_DRAWABLE (drawable)' failed
(auidemo:12421): Gtk-CRITICAL **: gtk_paint_box: assertion `style->depth
== gdk_drawable_get_depth (window)' failed
}}}
Could you please look into this Jens? TIA!
--
Ticket URL: <http://trac.wxwidgets.org/ticket/14710#comment:7 >
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
"wxTrac" <nore... @wxsite.net>
Date: Sun, 07 Oct 2012 23:23:18 -0000
Local: Sun, Oct 7 2012 7:23 pm
Subject: Re: #14710: Bad wxAuiNotebook child position (theming problem ?)
Ticket URL: <
http://trac.wxwidgets.org/ticket/14710#comment:8 >
#14710: Bad wxAuiNotebook child position (theming problem ?)
---------------------------+----------------------------------------------- -
Reporter: EmilienKia | Owner: Type: defect | Status: new
Priority: normal | Milestone: Component: wxAui | Version: 2.9-svn
Keywords: wxAuiNotebook | Blockedby: Patch: 1 | Blocking: ---------------------------+----------------------------------------------- -
Comment(by jens):
The updated patch should fix this issue.
Sorry for the inconvenience.
Jens
--
Ticket URL: <http://trac.wxwidgets.org/ticket/14710#comment:8 >
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
"wxTrac" <nore... @wxsite.net>
Date: Mon, 08 Oct 2012 12:09:16 -0000
Local: Mon, Oct 8 2012 8:09 am
Subject: Re: #14710: Bad wxAuiNotebook child position (theming problem ?)
Ticket URL: <
http://trac.wxwidgets.org/ticket/14710#comment:9 >
#14710: Bad wxAuiNotebook child position (theming problem ?)
-------------------------+------------------------------------------------- -
Reporter: EmilienKia | Owner: Type: defect | Status: closed Priority: normal | Milestone: Component: wxAui | Version: 2.9-svn
Resolution: fixed | Keywords: wxAuiNotebook
Blockedby: | Patch: 1
Blocking: |
-------------------------+------------------------------------------------- -
Changes (by VZ):
* status: new => closed
* resolution: => fixed
Comment:
(In [72641]) Improve wxAuiNotebook appearance when using some GTK themes.
Let wxAuiNotebook render the border itself, instead of doing it in dock
art
class. This allows the notebook to do it correctly for the current theme.
Closes #14710.
--
Ticket URL: <http://trac.wxwidgets.org/ticket/14710#comment:9 >
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
"wxTrac" <nore... @wxsite.net>
Date: Sun, 21 Oct 2012 18:10:29 -0000
Local: Sun, Oct 21 2012 2:10 pm
Subject: Re: #14710: Bad wxAuiNotebook child position (theming problem ?)
Ticket URL: <
http://trac.wxwidgets.org/ticket/14710#comment:10 >
#14710: Bad wxAuiNotebook child position (theming problem ?)
-------------------------+------------------------------------------------- -
Reporter: EmilienKia | Owner: Type: defect | Status: closed Priority: normal | Milestone: Component: wxAui | Version: 2.9-svn
Resolution: fixed | Keywords: wxAuiNotebook
Blockedby: | Patch: 1
Blocking: |
-------------------------+------------------------------------------------- -
Comment(by LukasK):
Attached a screenshot of an error occuring in my application on Windows 7
after r72641.
--
Ticket URL: <http://trac.wxwidgets.org/ticket/14710#comment:10 >
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
"wxTrac" <nore... @wxsite.net>
Date: Sun, 21 Oct 2012 18:11:21 -0000
Local: Sun, Oct 21 2012 2:11 pm
Subject: Re: #14710: Bad wxAuiNotebook child position (theming problem ?)
Ticket URL: <
http://trac.wxwidgets.org/ticket/14710#comment:11 >
#14710: Bad wxAuiNotebook child position (theming problem ?)
-------------------------+------------------------------------------------- -
Reporter: EmilienKia | Owner: Type: defect | Status: reopened Priority: normal | Milestone: Component: wxAui | Version: 2.9-svn
Resolution: | Keywords: wxAuiNotebook
Blockedby: | Patch: 1
Blocking: |
-------------------------+------------------------------------------------- -
Changes (by LukasK):
* status: closed => reopened
* resolution: fixed =>
--
Ticket URL: <http://trac.wxwidgets.org/ticket/14710#comment:11 >
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
"wxTrac" <nore... @wxsite.net>
Date: Sun, 21 Oct 2012 18:37:56 -0000
Local: Sun, Oct 21 2012 2:37 pm
Subject: Re: #14710: Bad wxAuiNotebook child position (theming problem ?)
Ticket URL: <
http://trac.wxwidgets.org/ticket/14710#comment:12 >
#14710: Bad wxAuiNotebook child position (theming problem ?)
-------------------------+------------------------------------------------- -
Reporter: EmilienKia | Owner:
Type: defect | Status: confirmed Priority: normal | Milestone: 2.9.5 Component: wxAui | Version: 2.9-svn Resolution: | Keywords: wxAuiNotebook regression
Blockedby: | Patch: 1 Blocking: |
-------------------------+------------------------------------------------- -
Changes (by vadz):
* keywords: wxAuiNotebook => wxAuiNotebook regression
* status: reopened => confirmed
* milestone: => 2.9.5
Comment:
I don't see this immediately on sample startup but I do see it if I reduce
and increase back the main window height in the aui sample.
--
Ticket URL: <http://trac.wxwidgets.org/ticket/14710#comment:12 >
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
"wxTrac" <nore... @wxsite.net>
Date: Sun, 21 Oct 2012 18:41:27 -0000
Local: Sun, Oct 21 2012 2:41 pm
Subject: Re: #14710: Bad wxAuiNotebook child position (theming problem ?)
Ticket URL: <
http://trac.wxwidgets.org/ticket/14710#comment:13 >
#14710: Bad wxAuiNotebook child position (theming problem ?)
-------------------------+------------------------------------------------- -
Reporter: EmilienKia | Owner:
Type: defect | Status: confirmed Priority: normal | Milestone: 2.9.5 Component: wxAui | Version: 2.9-svn Resolution: | Keywords: wxAuiNotebook regression
Blockedby: | Patch: 1 Blocking: |
-------------------------+------------------------------------------------- -
Comment(by jens):
I can look into it this evening.
--
Ticket URL: <http://trac.wxwidgets.org/ticket/14710#comment:13 >
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
"wxTrac" <nore... @wxsite.net>
Date: Mon, 22 Oct 2012 19:57:30 -0000
Local: Mon, Oct 22 2012 3:57 pm
Subject: Re: #14710: Bad wxAuiNotebook child position (theming problem ?)
Ticket URL: <
http://trac.wxwidgets.org/ticket/14710#comment:14 >
#14710: Bad wxAuiNotebook child position (theming problem ?)
-------------------------+------------------------------------------------- -
Reporter: EmilienKia | Owner:
Type: defect | Status: confirmed Priority: normal | Milestone: 2.9.5 Component: wxAui | Version: 2.9-svn Resolution: | Keywords: wxAuiNotebook regression
Blockedby: | Patch: 1 Blocking: |
-------------------------+------------------------------------------------- -
Comment(by jens):
A little later, but this patch fixes the issue.
--
Ticket URL: <http://trac.wxwidgets.org/ticket/14710#comment:14 >
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
"wxTrac" <nore... @wxsite.net>
Date: Mon, 22 Oct 2012 21:32:13 -0000
Local: Mon, Oct 22 2012 5:32 pm
Subject: Re: #14710: Bad wxAuiNotebook child position (theming problem ?)
Ticket URL: <
http://trac.wxwidgets.org/ticket/14710#comment:15 >
#14710: Bad wxAuiNotebook child position (theming problem ?)
-------------------------+------------------------------------------------- -
Reporter: EmilienKia | Owner:
Type: defect | Status: confirmed Priority: normal | Milestone: 2.9.5 Component: wxAui | Version: 2.9-svn Resolution: | Keywords: wxAuiNotebook regression
Blockedby: | Patch: 1 Blocking: |
-------------------------+------------------------------------------------- -
Comment(by LukasK):
The patch (fix_for_regression_introduced_in_72641.patch) removed the
refresh problem in my application.
Thanks!
--
Ticket URL: <http://trac.wxwidgets.org/ticket/14710#comment:15 >
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
"wxTrac" <nore... @wxsite.net>
Date: Mon, 22 Oct 2012 21:45:22 -0000
Local: Mon, Oct 22 2012 5:45 pm
Subject: Re: #14710: Bad wxAuiNotebook child position (theming problem ?)
Ticket URL: <
http://trac.wxwidgets.org/ticket/14710#comment:16 >
#14710: Bad wxAuiNotebook child position (theming problem ?)
-------------------------+------------------------------------------------- -
Reporter: EmilienKia | Owner:
Type: defect | Status: confirmed Priority: normal | Milestone: 2.9.5 Component: wxAui | Version: 2.9-svn Resolution: | Keywords: wxAuiNotebook regression
Blockedby: | Patch: 1 Blocking: |
-------------------------+------------------------------------------------- -
Comment(by vadz):
Thanks Jens!
Should this be also applied to the dynamic notebook branch?
--
Ticket URL: <http://trac.wxwidgets.org/ticket/14710#comment:16 >
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
"wxTrac" <nore... @wxsite.net>
Date: Mon, 22 Oct 2012 21:46:48 -0000
Local: Mon, Oct 22 2012 5:46 pm
Subject: Re: #14710: Bad wxAuiNotebook child position (theming problem ?)
Ticket URL: <
http://trac.wxwidgets.org/ticket/14710#comment:17 >
#14710: Bad wxAuiNotebook child position (theming problem ?)
-------------------------+------------------------------------------------- -
Reporter: EmilienKia | Owner:
Type: defect | Status: closed
Priority: normal | Milestone: 2.9.5 Component: wxAui | Version: 2.9-svn Resolution: fixed | Keywords: wxAuiNotebook regression
Blockedby: | Patch: 1 Blocking: |
-------------------------+------------------------------------------------- -
Changes (by VZ):
* status: confirmed => closed
* resolution: => fixed
Comment:
(In [72720]) Fix border size computation in wxAuiTabArt.
Space was reserved for the borders even when it wasn't filled, resulting
in
visual artefacts. Fix this by virtualizing the function returning the
additional space needed for the borders and only overriding it to return
non
zero in wxAuiGtkTabArt.
Closes #14710.
--
Ticket URL: <http://trac.wxwidgets.org/ticket/14710#comment:17 >
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
"wxTrac" <nore... @wxsite.net>
Date: Mon, 22 Oct 2012 22:08:42 -0000
Local: Mon, Oct 22 2012 6:08 pm
Subject: Re: #14710: Bad wxAuiNotebook child position (theming problem ?)
Ticket URL: <
http://trac.wxwidgets.org/ticket/14710#comment:18 >
#14710: Bad wxAuiNotebook child position (theming problem ?)
-------------------------+------------------------------------------------- -
Reporter: EmilienKia | Owner:
Type: defect | Status: closed
Priority: normal | Milestone: 2.9.5 Component: wxAui | Version: 2.9-svn Resolution: fixed | Keywords: wxAuiNotebook regression
Blockedby: | Patch: 1 Blocking: |
-------------------------+------------------------------------------------- -
Comment(by jens):
Replying to [comment:16 vadz]:
> Thanks Jens!
>
> Should this be also applied to the dynamic notebook branch?
No, it is not included in the branch and needs to be reimplemented.
--
Ticket URL: <http://trac.wxwidgets.org/ticket/14710#comment:18 >
You must
Sign in before you can post messages.
You do not have the permission required to post.