Search found 24 matches

by weswitt
Sun Dec 18, 2022 6:06 pm
Forum: Platform Related Issues
Topic: Webview Library
Replies: 2
Views: 768

Re: Webview Library

the problem was that i didn't have libwebkit2gtk-4.0-dev installed so when i ran cmake it disabled building webview. there's just so much spew that comes from cmake that it's easy to miss something important.
by weswitt
Sat Dec 17, 2022 5:48 pm
Forum: Platform Related Issues
Topic: Webview Library
Replies: 2
Views: 768

Webview Library

i build my own wxwidgets libs for use on a raspberry pi system. been using this for years and it's great. decided to move up to the current stable version of the source. but i can't remember where i get the webview libs. should the build process of wxwidgets produce a libwx_gtk3u_webview-3.2.a?? or ...
by weswitt
Tue Aug 11, 2020 8:48 pm
Forum: C++ Development
Topic: Client Size Wrong?
Replies: 3
Views: 346

Re: Client Size Wrong?

thanks for the reply. the strange thing is that the client size is not consistent. i just rebuilt and installed 3.1.4 on kubuntu (instead of regular ubuntu). now i'm seeing that the first frame that i create has the right client size but subsequent frames are of the smaller size. i added a call to s...
by weswitt
Tue Aug 11, 2020 5:37 pm
Forum: C++ Development
Topic: Client Size Wrong?
Replies: 3
Views: 346

Client Size Wrong?

I'm seeing something very strange. I'm running on Ubuntu 20.04. I'm creating a single wxFrame that is 800x480 in size. Inside the frame I have a single panel. I call GetClientSize on the frame and get the correct answer of 800x480. However it seems that the height of the client area is NOT 480 pixel...
by weswitt
Thu Mar 14, 2019 4:43 pm
Forum: Platform Related Issues
Topic: SIGSEGV When calling wxFrame::ShowFullScreen
Replies: 16
Views: 3436

Re: SIGSEGV When calling wxFrame::ShowFullScreen

OK, I was able to get the display sample running and repro the problem with the sample. Running the sample unchanged it works fine. You launch the sample and then choose the "full screen" menu item and the app is properly displayed full screen. However, if you change the line that says &qu...
by weswitt
Tue Mar 12, 2019 7:19 pm
Forum: Platform Related Issues
Topic: SIGSEGV When calling wxFrame::ShowFullScreen
Replies: 16
Views: 3436

Re: SIGSEGV When calling wxFrame::ShowFullScreen

Of course and I totally understand. I will repro with the sample as you suggest.
by weswitt
Tue Mar 12, 2019 3:47 pm
Forum: Platform Related Issues
Topic: SIGSEGV When calling wxFrame::ShowFullScreen
Replies: 16
Views: 3436

Re: SIGSEGV When calling wxFrame::ShowFullScreen

Thanks for the help building the sample. Builds perfectly. Hopefully tonight I can test it out.
by weswitt
Tue Mar 12, 2019 3:37 pm
Forum: Platform Related Issues
Topic: SIGSEGV When calling wxFrame::ShowFullScreen
Replies: 16
Views: 3436

Re: SIGSEGV When calling wxFrame::ShowFullScreen

GTK versions: 3.22.11-1+rpi3, 2.24.31-2

wxWidgets configure command: ../configure --enable-unicode --disable-shared

I was unable to get the sample compiled & running. Total PITA. Anyway the sample I provided is much simpler and clearly demonstrates the problem.
by weswitt
Tue Mar 12, 2019 2:09 pm
Forum: Platform Related Issues
Topic: SIGSEGV When calling wxFrame::ShowFullScreen
Replies: 16
Views: 3436

Re: SIGSEGV When calling wxFrame::ShowFullScreen

I have 2.0 & 3.0 installed

sudo apt-get install libgtk2.0-0 -y
sudo apt-get install libgtk-3-0 -y
by weswitt
Tue Mar 12, 2019 12:34 am
Forum: Platform Related Issues
Topic: SIGSEGV When calling wxFrame::ShowFullScreen
Replies: 16
Views: 3436

Re: SIGSEGV When calling wxFrame::ShowFullScreen

After more investigation I've found that the ShowFullScreen is unreliable. All of my tests were done with the sample code below -- the smallest wxWidgets app that shows an empty frame. If ShowFullScreen() is used on a Raspberry Pi with a 7" LCD touchscreen it will segfault as follows: #0 0x769f...
by weswitt
Mon Mar 11, 2019 3:32 pm
Forum: Compiler / Linking / IDE Related
Topic: Compiling Samples
Replies: 10
Views: 4537

Re: Compiling Samples

Thanks that was it. I have it building now.
by weswitt
Mon Mar 11, 2019 3:01 pm
Forum: Compiler / Linking / IDE Related
Topic: Compiling Samples
Replies: 10
Views: 4537

Re: Compiling Samples

I built it myself. I is correctly built and installed.
by weswitt
Mon Mar 11, 2019 2:30 pm
Forum: Compiler / Linking / IDE Related
Topic: Compiling Samples
Replies: 10
Views: 4537

Compiling Samples

Sorry for the basic question, but I searched and could not find an answer. What is the procedure for building the sample apps on Linux? Trying this (which seems obvious) fails: make -f makefile.gcc if not exist gcc_mswud mkdir gcc_mswud make: -c: Command not found makefile.gcc:219: recipe for target...
by weswitt
Mon Mar 11, 2019 1:48 am
Forum: Platform Related Issues
Topic: SIGSEGV When calling wxFrame::ShowFullScreen
Replies: 16
Views: 3436

Re: SIGSEGV When calling wxFrame::ShowFullScreen

I will do that and report back. One thing I have discovered is that this ONLY repros on a Pi with a 7" touch display that connects using the Pi ribbon display cable. Running on a Pi using HDMI display it work fine. So it seems that GTK is sensitive to the display driver. Also, when I call the A...
by weswitt
Sun Mar 10, 2019 4:44 pm
Forum: Platform Related Issues
Topic: SIGSEGV When calling wxFrame::ShowFullScreen
Replies: 16
Views: 3436

SIGSEGV When calling wxFrame::ShowFullScreen

I'm seeing a Segmentation fault when calling wxFrame::ShowFullScreen: #0 0x76a26714 in gdk_window_set_decorations () from /usr/lib/arm-linux-gnueabihf/libgdk-x11-2.0.so.0 #1 0x0008233c in wxTopLevelWindowGTK::ShowFullScreen(bool, long) () #2 0x000966a4 in wxFrame::ShowFullScreen(bool, long) () #3 0x...