Portion of Code Completion dialog is inaccessible

General questions regarding the usage of CodeLite
lifepower
CodeLite Enthusiast
Posts: 16
Joined: Sat Apr 23, 2016 9:37 pm
Genuine User: Yes
IDE Question: C++
Contact:

Portion of Code Completion dialog is inaccessible

Post by lifepower »

I'm using CodeLite 9.1.0 on Ubuntu 16.04 x64, under multi-monitor setup. On such setup, I'm using CodeLite on left (red) display in portrait orientation as shown below:
multi-mon setup.png
The issue is that from time to time, CodeLite dialogs grow in size sporadically, sometimes getting too tall so you cannot move or close them anymore - this can be avoided by resizing them to proper size from time to time, before it's too late. Sometimes when dialog gets unusable, restarting CodeLite allows it to appear well enough to be able to resize it back to normal size.

However, my current main issue is with Code Completion dialog, where its left side is completely inaccessible. After using it once, it grew to full display width and its options on the left have reduced almost to zero and I can't get them to reappear. Restarting CodeLite doesn't help. The screenshot is attached below:
CodeLite Code Completion.png
Is there anything I can do to restore left side of dialog?
You do not have the required permissions to view the files attached to this post.
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Portion of Code Completion dialog is inaccessible

Post by eranif »

Does resizing the dialog fixes this? (it works for me on Debian 8 with lxde)
Eran
Make sure you have read the HOW TO POST thread
lifepower
CodeLite Enthusiast
Posts: 16
Joined: Sat Apr 23, 2016 9:37 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Portion of Code Completion dialog is inaccessible

Post by lifepower »

Actually, resizing is what I attempted first, but no, while resizing, left side remains with what looks like zero width, whereas height does seem to change (but that doesn't help).

P.S. Maximizing window doesn't help, using "restore default layout" in Perspective doesn't fix it either.
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Portion of Code Completion dialog is inaccessible

Post by eranif »

I have seen it before in other dialogs, the solution was _not_ to use wxTreeCtrlBook
I guess I will have to do the same for this dialog as well

Eran
Make sure you have read the HOW TO POST thread
lifepower
CodeLite Enthusiast
Posts: 16
Joined: Sat Apr 23, 2016 9:37 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Portion of Code Completion dialog is inaccessible

Post by lifepower »

Thanks, but is there a way to somehow revert this dialog for now? Should I reinstall CodeLite? Or is there a some known location where dialog UI last position/size is saved to? (so I can try deleting those)
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Portion of Code Completion dialog is inaccessible

Post by eranif »

It seems a bug in wxWidgets (CodeLite is using a standard wxWidgets control called: "wxTreeBookCtrl")
So there is nothing that you can do about this for now - unless you use a different window manager (lxde, xfce, kde etc)

Eran
Make sure you have read the HOW TO POST thread
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Portion of Code Completion dialog is inaccessible

Post by eranif »

Update:
Fixed this in git master.
You can build CodeLite from sources (an easy task on Linux):

http://codelite.org/Developers/Linux

Eran
Make sure you have read the HOW TO POST thread
lifepower
CodeLite Enthusiast
Posts: 16
Joined: Sat Apr 23, 2016 9:37 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Portion of Code Completion dialog is inaccessible

Post by lifepower »

I've built CodeLite from GitHub sources and Code Completion dialog now appears to be using tabs and is working properly. Many thanks!
Post Reply