Search found 172 matches

by Virchanza
Mon Oct 23, 2023 11:04 pm
Forum: Announcements and Discoveries
Topic: Replacement for wxGauge
Replies: 2
Views: 1691

Re: Replacement for wxGauge

I found the following video very helpful:

https://youtu.be/sCTaMkbnup0?si=3KdIIMb50wtc1WX1

I'm going to do a little more work on making the progress bar a little fancier (for example the colour gets darker as it approaches 100%), and maybe even has waves running through it.
by Virchanza
Sun Oct 22, 2023 4:50 pm
Forum: Announcements and Discoveries
Topic: Replacement for wxGauge
Replies: 2
Views: 1691

Replacement for wxGauge

I do realise that the whole point of wxWidgets is to appear native on all computers, and I'm satisfied with this 9 times out of 10. I'm not satisfied with wxGauge though, in particular on the latest Ubuntu Linux because it's a tiny thin line. I want something more consistent across all platforms. So...
by Virchanza
Sun Jul 09, 2023 7:38 pm
Forum: Platform Related Issues
Topic: Maximise has no effect - Latest Version Ubuntu 23. 04
Replies: 19
Views: 7764

Re: Maximise has no effect - Latest Version Ubuntu 23. 04

DavidHart wrote: Sun Jul 09, 2023 4:52 pm I suspect any wxDialogs are not supposed to have maximise/minimise buttons...
That includes your program.
So the wxWidgets documentation is in error in that it says a wxDialog can have min and max?
by Virchanza
Sun Jul 09, 2023 2:41 pm
Forum: Platform Related Issues
Topic: Maximise has no effect - Latest Version Ubuntu 23. 04
Replies: 19
Views: 7764

Re: Maximise has no effect - Latest Version Ubuntu 23. 04

$ wmctrl -m Name: GNOME Shell So that's not the difference. What about themes? Did you install one that's different from the default? (I should say at this point that 1) I have little theme experience (I care far more about function than form) 2) I don't actually use ubuntu; I'm reporting what I se...
by Virchanza
Sat Jul 08, 2023 10:38 pm
Forum: Platform Related Issues
Topic: Maximise has no effect - Latest Version Ubuntu 23. 04
Replies: 19
Views: 7764

Re: Maximise has no effect - Latest Version Ubuntu 23. 04

$ wmctrl -m
Name: GNOME Shell
Class: N/A
PID: N/A
Window manager's "showing the desktop" mode: OFF
by Virchanza
Sat Jul 08, 2023 12:05 pm
Forum: Platform Related Issues
Topic: Maximise has no effect - Latest Version Ubuntu 23. 04
Replies: 19
Views: 7764

Re: Maximise has no effect - Latest Version Ubuntu 23. 04

I didn't realise my microphone was muted, but still you can see the max and min buttons in the 'dialogs' sample:

https://www.youtube.com/watch?v=J_lClqyWfgE
by Virchanza
Fri Jul 07, 2023 3:05 pm
Forum: Platform Related Issues
Topic: Maximise has no effect - Latest Version Ubuntu 23. 04
Replies: 19
Views: 7764

Re: Maximise has no effect - Latest Version Ubuntu 23. 04

Which one has a maximise button for you? I can't find one that does...
When I'm home later I'll make a video of myself using the 'dialogs' sample.

Code: Select all

$> wxctrl -m

I'll do this too.
by Virchanza
Fri Jul 07, 2023 2:24 pm
Forum: Platform Related Issues
Topic: Maximise has no effect - Latest Version Ubuntu 23. 04
Replies: 19
Views: 7764

Re: Maximise has no effect - Latest Version Ubuntu 23. 04

ONEEYEMAN wrote: Fri Jul 07, 2023 2:21 pm Hi,
It is sent only for TLW (wxFrame) windows.

Are you using modal or modeless dialog? Maybe you should use wx{Mini}Frame instead?

Thank you.
The wxWidgets documentation for 'wxDialog' shows that it can have a maximise box.
by Virchanza
Fri Jul 07, 2023 1:55 pm
Forum: Platform Related Issues
Topic: Maximise has no effect - Latest Version Ubuntu 23. 04
Replies: 19
Views: 7764

Re: Maximise has no effect - Latest Version Ubuntu 23. 04

I have tried connecting the maximisation event:

Code: Select all

this->Connect( wxEVT_MAXIMIZE, wxMaximizeEventHandler( Dialog_Main__Auto_Base_Class::OnMaximize ) );
but this event does not get triggered when I click the Maximise button.
by Virchanza
Fri Jul 07, 2023 1:47 pm
Forum: Platform Related Issues
Topic: Maximise has no effect - Latest Version Ubuntu 23. 04
Replies: 19
Views: 7764

Re: Maximise has no effect - Latest Version Ubuntu 23. 04

Hi, I've just installed the official 23.04 wx3.2-examples package, then built and run 'minimal'. Its minimise/maximise buttons work as expected. What happens when you run one of those samples? If they work OK, look and see what your program does that's different. Regards, David It seems that everyt...
by Virchanza
Wed Jun 28, 2023 3:15 pm
Forum: Platform Related Issues
Topic: Maximise has no effect - Latest Version Ubuntu 23. 04
Replies: 19
Views: 7764

Maximise has no effect - Latest Version Ubuntu 23. 04

This past week I upgraded my Ubuntu installation to 23.04. My build of wxWidgets is gtk3-unicode-static-3.2 . Ever since upgrading Ubuntu, the maximise and minimise buttons in my program have no effect. You can click them but they do nothing. They don't appear to be greyed out. Ubuntu 23.04 uses Way...
by Virchanza
Tue May 30, 2023 11:33 am
Forum: Platform Related Issues
Topic: Memory leaks from libfontconfig
Replies: 17
Views: 5990

Re: Memory leaks from libfontconfig

I have improved upon my previous patch. Now I build libpango with AddressSanitizer to make sure that nothing gets double-freed: https://github.com/healytpk/libpango/compare/c573c64..6e76ccfe On my Ubuntu Linux PC running a wxWidgets program with GTK3, this finds and fixes 18 leaks. I need to do more...
by Virchanza
Mon May 29, 2023 11:02 pm
Forum: Platform Related Issues
Topic: Memory leaks from libfontconfig
Replies: 17
Views: 5990

Re: Memory leaks from libfontconfig

I've created a patch for libpango that eradicates all of the memory leaks reported by AddressSanitizer: https://github.com/healytpk/libpango/commit/629b67918d7d2de6060e3bfc6246c3d6e76c15a6 This isn't intended as a final solution, but rather just as a stepping stone toward solving the problem properly.
by Virchanza
Mon May 29, 2023 6:49 am
Forum: Platform Related Issues
Topic: Memory leaks from libfontconfig
Replies: 17
Views: 5990

Re: Memory leaks from libfontconfig

ONEEYEMAN wrote: Sun May 28, 2023 9:27 pm They think its a system library and because of that the library can et away with the leaks, because the library will always be running/available.

This makes zero sense to me.
by Virchanza
Sun May 28, 2023 8:26 pm
Forum: Platform Related Issues
Topic: Memory leaks from libfontconfig
Replies: 17
Views: 5990

Re: Memory leaks from libfontconfig

Four days ago a guy found one of the leaks in libpango:

https://gitlab.gnome.org/GNOME/pango/-/issues/748

There are two more leaks to find, and I'm not certain yet whether they are in libpango or libfontconfig.