Hi Eran,
I'm on Debian x64/Xfce, just compiled CL trunk with wxTrunk and still not getting notebook pages with a close button, whether detached or not, is it even possible to hide tabs from Output View, f.ex. ?
I'm guessing there's a build conflict somewhere: how does the ./Interfaces/cl_defs CL_USE_NATIVEBOOK=0 patch interact with the -DGTK_USE_AUIBOOK=1 cmake flag? Also should wx be compiled with "regular" RTTI or does CL need "--enable-extended-rtti"?
Sorry if the info is available somewhere, did some digging but found nothing in bug reports, feature requests or forums.
thx & cheers,
-- p
wxGTK notebooks config?
-
- CodeLite Expert
- Posts: 231
- Joined: Sat Nov 24, 2012 8:04 pm
- Genuine User: Yes
- IDE Question: c++
- Location: Los Angeles
- Contact:
wxGTK notebooks config?
main: Debian Jessie x64 + custom wxTrunk
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: wxGTK notebooks config?
Simple: by default, native notebooks are used on GTK, unless -DGTK_USE_AUIBOOK=1 is passed to cmakepetah wrote:how does the ./Interfaces/cl_defs CL_USE_NATIVEBOOK=0 patch interact with the -DGTK_USE_AUIBOOK=1 cmake flag?
Code: Select all
#ifdef __WXGTK__
# ifndef PLUGINS_DIR
# define PLUGINS_DIR "/usr/lib/codelite"
# endif
# ifndef INSTALL_DIR
# define INSTALL_DIR "/usr/share/codelite"
# endif
# define CL_USE_NATIVEBOOK 1
#else
# define CL_USE_NATIVEBOOK 0
#endif
/// Allow override the default CL_USE_NATIVEBOOK by cmake variable
#if GTK_USE_AUIBOOK
# ifdef CL_USE_NATIVEBOOK
# undef CL_USE_NATIVEBOOK
# endif
# define CL_USE_NATIVEBOOK 0
#endif
codelite does not need thispetah wrote:Also should wx be compiled with "regular" RTTI or does CL need "--enable-extended-rtti"?
I am not sure I understand the original problem ...
Eran
Make sure you have read the HOW TO POST thread
-
- CodeLite Expert
- Posts: 231
- Joined: Sat Nov 24, 2012 8:04 pm
- Genuine User: Yes
- IDE Question: c++
- Location: Los Angeles
- Contact:
Re: wxGTK notebooks config?
Sorry if I wasn't clear: when I detach a notebook page I get a floating window (I'm guessing wxFRAME_TOOL_WINDOW) whose titlebar is blank / looks unrendered and has no close button so it can't be hidden. Randomly clicking where the close button would be just puts the (floatie? ) window back in its previous notebook. Toggling visibility under GDB -> Windows has no effect.eranif wrote: I am not sure I understand the original problem ...
Except for the Workspace View tabs, which can be hidden, I have N notebook pages which I can only clumsily move around the desktop, resize, dock/undock, but never hide. I assume it's a configuration problem on my end since I couldn't find any mention of it anywhere .
thx,
-- p
main: Debian Jessie x64 + custom wxTrunk
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: wxGTK notebooks config?
Can you post a screenshot?
I am not sure which notebook do you refer to. atm, the only notebooks that can be detached are the output / workspace tabs
Eran
I am not sure which notebook do you refer to. atm, the only notebooks that can be detached are the output / workspace tabs
Eran
Make sure you have read the HOW TO POST thread
-
- CodeLite Expert
- Posts: 231
- Joined: Sat Nov 24, 2012 8:04 pm
- Genuine User: Yes
- IDE Question: c++
- Location: Los Angeles
- Contact:
Re: wxGTK notebooks config?
hi again,
this shows CL on launch after I had detached the ASCII viewer page from the Debugger Notebook in the previous CL session:
is the title bar not rendered because of a wx/CL config error?
More importantly, is the inability to hide detached tabs or reattach them to another notebook an inherent Gtk and/or wxAUI limitation? I saw in CL's code you had to workaround wxAUI's tab orderering limitation by doing 10-pixel spaced hittests; I think I saw improvements to handle that in wx295.
thx a lot!
-- p
this shows CL on launch after I had detached the ASCII viewer page from the Debugger Notebook in the previous CL session:
is the title bar not rendered because of a wx/CL config error?
More importantly, is the inability to hide detached tabs or reattach them to another notebook an inherent Gtk and/or wxAUI limitation? I saw in CL's code you had to workaround wxAUI's tab orderering limitation by doing 10-pixel spaced hittests; I think I saw improvements to handle that in wx295.
thx a lot!
-- p
You do not have the required permissions to view the files attached to this post.
main: Debian Jessie x64 + custom wxTrunk
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: wxGTK notebooks config?
My guess: its your desktop manager (xfce?) try using (just to confirm this) a different desktop (KDE, GNOME etc)petah wrote:is the title bar not rendered because of a wx/CL config error?
Its not something that codelite controls - its wx internally, but I suspect it is related to the desktop you are using
You can't hide those tabs. If you click on the close button - they will be re positioned again in the parent notebook.petah wrote: but never hide
Eran
Make sure you have read the HOW TO POST thread
-
- CodeLite Expert
- Posts: 231
- Joined: Sat Nov 24, 2012 8:04 pm
- Genuine User: Yes
- IDE Question: c++
- Location: Los Angeles
- Contact:
Re: wxGTK notebooks config?
Yep, Xfce 4.8. Could it be due to a missing icon?eranif wrote:My guess: its your desktop manager (xfce?)petah wrote:is the title bar not rendered because of a wx/CL config error?
Ok I'll try Gnome after googling for Xfce/Gtk/wx problems.eranif wrote:try using (just to confirm this) a different desktop (KDE, GNOME etc)
Its not something that codelite controls - its wx internally, but I suspect it is related to the desktop you are using
Bummer, is it a wxAUI limitation?eranif wrote:You can't hide those tabs. If you click on the close button - they will be re positioned again in the parent notebook.petah wrote: but never hide
thx for your help,
-- p
main: Debian Jessie x64 + custom wxTrunk