User forums > General (but related to Code::Blocks)

Panel shows only partially in wxz file editor

(1/4) > >>

spflanze:
Two problems showed up when I ported a project from Windows 7 to Ubuntu 18.04. The versions are wxWidgets 3.0.3, In Ubuntu Code::Blocks version is 16.04.

1) In the wxs WYSIWYG editor I only see 2/3 of the front panel when not scrolling. The bottom 1/3 flashes to visible for as long as I move the verticle scroll bar. Once I stop moving it I the bottom 1/3 disappears and in its place is the panels background color. (see the attached image "Page Bottom Blank in WXS Editor.png"). When run all front panel objects appear.

2) The "Part Data" StaticBoxSizer object's background color is normal in the wxs file editor. But when run the background is black (see the attached image "Black Background When Run.png").

oBFusCATed:
I think the first problem is fixed in 17.12. Can you try to upgrade and see if the bug is still there?

spflanze:
Thanks for your reply.

The Code::Blocks 16.04 version I used was the version Ubuntu 18.04's  Software application installed. I removed that Code::Blocks installation, downloaded the codeblocks_17.12-1_amd64_stable.tar.xz file from:

https://sourceforge.net/projects/codeblocks/files/Binaries/17.12/Linux/Debian%20stable/codeblocks_17.12-1_amd64_stable.tar.xz/download

, unpacked it, and in the terminal emulater made the directory it was unpacked into the current directory.

I then executed these two commands:

--- Code: ---sudo apt-get install ./codeblocks_17.12-1_amd64.deb ./codeblocks-common_17.12-1_all.deb ./libcodeblocks0_17.12-1_amd64.deb
sudo apt-get install ./wxsmith-headers_17.12-1_all.deb ./libwxsmithlib0_17.12-1_amd64.deb ./wxsmith-dev_17.12-1_amd64.deb

--- End code ---

This installed Code::Blocks, but this installation did not recognize the .wxs file extension. What do I need to do to see the wxs file in the WYSIWYG editor?

oBFusCATed:
Install the contrib package.

spflanze:
I attempted to follow your suggestion and install contrib. Pasted below is my attempt to do so:

--- Code: --- sudo apt-get install ./codeblocks-contrib-common_17.12-1_all.deb ./codeblocks-wxcontrib-dev_17.12-1_amd64.deb ./codeblocks-contrib_17.12-1_amd64.deb ./codeblocks-libwxcontrib0_17.12-1_amd64.deb ./codeblocks-wxcontrib-headers_17.12-1_all.deb
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'codeblocks-contrib-common' instead of './codeblocks-contrib-common_17.12-1_all.deb'
Note, selecting 'codeblocks-wxcontrib-dev' instead of './codeblocks-wxcontrib-dev_17.12-1_amd64.deb'
Note, selecting 'codeblocks-contrib' instead of './codeblocks-contrib_17.12-1_amd64.deb'
Note, selecting 'codeblocks-libwxcontrib0' instead of './codeblocks-libwxcontrib0_17.12-1_amd64.deb'
Note, selecting 'codeblocks-wxcontrib-headers' instead of './codeblocks-wxcontrib-headers_17.12-1_all.deb'
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 codeblocks-contrib : Depends: libhunspell-1.4-0 but it is not installable
                      Recommends: valgrind but it is not going to be installed
                      Recommends: cppcheck but it is not going to be installed
                      Recommends: cscope but it is not going to be installed
                      Recommends: cccc but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

--- End code ---
I do not know what to do about these errors. Please suggest a solution. Why is it selecting something other than the exact packages from my hard drive in the command line? Why would libhunspell-1.4-0 by uninstallable?

Navigation

[0] Message Index

[#] Next page

Go to full version