Author Topic: Strange behavior of C::B over xming.  (Read 170 times)

Offline shredluc

  • Single posting newcomer
  • *
  • Posts: 3
Strange behavior of C::B over xming.
« on: April 20, 2017, 05:24:38 pm »
Hello everyone,

Hopefully someone has encountered this and can direct me how to fix this annoying issue.  I'm using xming to connect to a centos 7 server and run the linux version of 64 bit codeblocks: 16.01 rev 10695 over X11.  Everything works great on the windows side with one very annoying problem.

The issue is that when using CTRL-space to try to code complete anything, the results popup seems to be pushed behind the main window.  The second popup that appears describing the selection in the first popup stays above.  Took me a while to realize what was occurring.  For about half a day i tried every single setting in code completion in the end thinking it was broken.  Then by accident i find this weird behavior and i'm attaching some screen shots that should illustrate the situation.  To put it in words: once i hit ctrl-space i can then move the main codeblocks window to uncover the missing popup.  I thought this was an xming problem but i also tried cygwin/x and it has the same problem. I tried updating my video card drivers and also a multitude of settings of Xserver and have not been able to resolve this issue.  I have a quad monitor setup with dual Nvidia GeForce 8600 GT cards.

Please let me know if there is anything i can post to help the issue along.

Thanks!

EDIT 1:
I installed netbeans 8.2 and tried running that through xming, it seems they use a very similar looking popup but theirs works fine.  I would much rather use C::B.  This may be some kind of bug but i have no idea what to even write in a bug report.

EDIT 2: I am also going to try to go through xming "support" if the creator has any suggestions or possibly has encountered this before.  I will post that information if i get any help there.
« Last Edit: April 20, 2017, 06:45:51 pm by shredluc »

Offline BlueHazzard

  • Lives here!
  • ****
  • Posts: 1271
Re: Strange behavior of C::B over xming.
« Reply #1 on: April 21, 2017, 10:58:45 am »
this is probably a wx / xming problem. Can you try some other wxWIdgets application with xming? At the moment i have no idea in what wxWidgets application they use the same control as in codeblocks....

Offline shredluc

  • Single posting newcomer
  • *
  • Posts: 3
Re: Strange behavior of C::B over xming.
« Reply #2 on: April 21, 2017, 05:59:31 pm »
That is a great idea, didn't think of it.

Tried installing codelite (looks like a C::B rip-off) but couldn't get it running on centos7 from the rpm, which is a bummer because that would have been an apples to apples comparison.  Instead built it from source code and lo and behold it works. 

This got me thinking: my C::B install is from rpm, based on the previous sentence, i am going to build CB from source....Ok built against gtk2 and wxwidgets 2.8.12.  It fails in the same exact way as the rpm release of CB.  I wonder if i can possibly rebuild using gtk3?

tried audacity which is based on wx but i couldn't find any similar pop-up functionality there, otherwise it ran perfect.
tried writerscafe which is also based on wx, also couldn't find a pop-up anywhere, otherwise it also ran perfect.
tried wxHexEditor, wx based, single pop-up's work fine, custom "tags" in hex pop up just fine, couldn't get two tags to pop up at the same time to see if one disappears or gets pushed behind, otherwise ran perfect.


Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 9876
Re: Strange behavior of C::B over xming.
« Reply #3 on: April 21, 2017, 06:31:49 pm »
What version of wxgtk do you use for all experiments? Is it the same?
<debugger plugin maintainer>
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline shredluc

  • Single posting newcomer
  • *
  • Posts: 3
Re: Strange behavior of C::B over xming.
« Reply #4 on: April 21, 2017, 06:40:53 pm »
Yes i only use one version of gtk:

[root@bt2mgmt ~]# yum info wxGTK
Loaded plugins: auto-update-debuginfo, fastestmirror
Loading mirror speeds from cached hostfile
 * base: centos.mirror.constant.com
 * epel: mirror.steadfast.net
 * epel-debuginfo: mirror.steadfast.net
 * extras: mirrors.gigenet.com
 * rpmforge: mirror.team-cymru.org
 * rpmforge-extras: mirror.team-cymru.org
 * updates: mirror.steadfast.net
Installed Packages
Name        : wxGTK
Arch        : x86_64
Version     : 2.8.12
Release     : 20.el7
Size        : 12 M
Repo        : installed
From repo   : epel
Summary     : GTK2 port of the wxWidgets GUI library
URL         : http://www.wxwidgets.org/
License     : wxWidgets
Description : wxWidgets/GTK2 is the GTK2 port of the C++ cross-platform wxWidgets
            : GUI library, offering classes for all common GUI controls as well as a
            : comprehensive set of helper classes for most common application tasks,
            : ranging from networking to HTML display and image manipulation.

This has been the only version of wxGTK installed during the tests described in the previous post.

I do have a wxGTK 3 version available to me:

[root@bt2mgmt ~]# yum info wxGTK3
Loaded plugins: auto-update-debuginfo, fastestmirror
Loading mirror speeds from cached hostfile
 * base: centos.mirror.constant.com
 * epel: mirror.steadfast.net
 * epel-debuginfo: mirror.steadfast.net
 * extras: mirrors.gigenet.com
 * rpmforge: mirror.team-cymru.org
 * rpmforge-extras: mirror.team-cymru.org
 * updates: mirror.steadfast.net
Available Packages
Name        : wxGTK3
Arch        : x86_64
Version     : 3.0.2
Release     : 15.el7
Size        : 4.8 M
Repo        : epel/x86_64
Summary     : GTK port of the wxWidgets GUI library
URL         : http://www.wxwidgets.org/
License     : wxWidgets
Description : wxWidgets is the GTK port of the C++ cross-platform wxWidgets
            : GUI library, offering classes for all common GUI controls as well as a
            : comprehensive set of helper classes for most common application tasks,
            : ranging from networking to HTML display and image manipulation.




Thank you for interest in my problem.  Please let me know if there is anything i can do to help troubleshoot this.  I really appreciate the time anyone may take to think about this problem.

Thanks again!
« Last Edit: April 21, 2017, 06:42:46 pm by shredluc »