Search found 299 matches

by rocrail
Thu Apr 04, 2024 8:58 am
Forum: Platform Related Issues
Topic: Wildcard Filter for files without extension like "crontab"
Replies: 9
Views: 13437

Re: Wildcard Filter for files without extension like "crontab"

ONEEYEMAN wrote: Thu Apr 04, 2024 8:48 am What OSX version do you test under?
macOS 14.4.1 M3
ONEEYEMAN wrote: Thu Apr 04, 2024 8:48 am Do you have permission to open the file?
Yes.
by rocrail
Thu Apr 04, 2024 8:34 am
Forum: Platform Related Issues
Topic: Wildcard Filter for files without extension like "crontab"
Replies: 9
Views: 13437

Re: Wildcard Filter for files without extension like "crontab"

I tested this one:

Code: Select all

MyText (mytext)|mytext
does not work under macOS.
by rocrail
Thu Apr 04, 2024 8:11 am
Forum: Platform Related Issues
Topic: Wildcard Filter for files without extension like "crontab"
Replies: 9
Views: 13437

Re: Wildcard Filter for files without extension like "crontab"

Under Debian it works as expected with wxWidgets 3.2.4
Should I report this as macOS bug?

PS: Under Windows its also OK.
by rocrail
Thu Apr 04, 2024 8:01 am
Forum: Platform Related Issues
Topic: Wildcard Filter for files without extension like "crontab"
Replies: 9
Views: 13437

Re: Wildcard Filter for files without extension like "crontab"

The file is not hidden and is showed in the dialog but is not selectable; Greyed out.
I only tested this under macOS, but I will test now under Debian and will report.
by rocrail
Thu Apr 04, 2024 6:14 am
Forum: Platform Related Issues
Topic: Wildcard Filter for files without extension like "crontab"
Replies: 9
Views: 13437

Wildcard Filter for files without extension like "crontab"

I'm trying to filter files for a wxFileDialog like this: wxT("AMP (*.amp)|*.amp|IOScript (*.io)|*.io|LEDScript (*.led)|*.led|Crontab (crontab)|crontab") The first three filter does work as expected, but the "crontab" files are not selectable. How can I filter a filename? What I h...
by rocrail
Sun Mar 03, 2024 7:13 am
Forum: Platform Related Issues
Topic: Windows Scaling 300%
Replies: 53
Views: 12118

Re: Windows Scaling 300%

rocrail wrote: Sun Mar 03, 2024 7:01 am Is the wxPaintDC at every OnPaint unique for every wxWindow or is its always the same?
In the latter case I could save the wxGraphicsContext and create it only once.
Not possible: Crash.
by rocrail
Sun Mar 03, 2024 7:01 am
Forum: Platform Related Issues
Topic: Windows Scaling 300%
Replies: 53
Views: 12118

Re: Windows Scaling 300%

Is the wxPaintDC at every OnPaint unique for every wxWindow or is its always the same?
In the latter case I could save the wxGraphicsContext and create it only once.
by rocrail
Sat Mar 02, 2024 8:56 am
Forum: Platform Related Issues
Topic: Windows Scaling 300%
Replies: 53
Views: 12118

Re: Windows Scaling 300%

the display scaling factor is two decimal digits
Thanks; I corrected this.
the redraws of individual items being observable when e.g. scrolling
This effect is only under Windows; GTK and macOS are OK.
It seems that Windows does not like a lot of windows.
by rocrail
Sat Mar 02, 2024 6:19 am
Forum: Platform Related Issues
Topic: Windows Scaling 300%
Replies: 53
Views: 12118

Re: Windows Scaling 300%

The Display geometry and scaling are retrieved from wxWidgets: int displays = wxDisplay::GetCount(); char* displayText = NULL; for( int i = 0; i < displays; i++ ) { wxDisplay display((unsigned int)i); wxRect rect = display.GetGeometry(); int w = rect.width; int h = rect.height; double sf = 1.0; #if ...
by rocrail
Fri Mar 01, 2024 11:52 am
Forum: Platform Related Issues
Topic: Windows Scaling 300%
Replies: 53
Views: 12118

Re: Windows Scaling 300%

The ZIP installer has a workspace with the Demo plan.
https://wiki.rocrail.net/rocrail-snapshot/

For instructions:
https://wiki.rocrail.net/doku.php?id=rocrailonastick-en

But its very easy:
1) download
2) unzip
3) d-click on desktoplink.cmd

Click on the Desktop icon and open the demo workspace.
by rocrail
Fri Mar 01, 2024 10:53 am
Forum: Platform Related Issues
Topic: Windows Scaling 300%
Replies: 53
Views: 12118

Re: Windows Scaling 300%

It's probably too late to change your approach now, That would mean a major rewrite for the graphical part of the application. To draw all objects on the same canvas is not very object orientated but could be an alternative, but the performance penalty only pops up under Windows with scaling > 100%...
by rocrail
Fri Mar 01, 2024 10:17 am
Forum: Platform Related Issues
Topic: Windows Scaling 300%
Replies: 53
Views: 12118

Re: Windows Scaling 300%

Are you saying that every single small square here is its own window?
Only the once with a symbol on it. Empty grid squares are empty.
Depending on the object type the popup menu is different and a click or D&D behaves different.
example.jpg
by rocrail
Fri Mar 01, 2024 9:13 am
Forum: Platform Related Issues
Topic: Windows Scaling 300%
Replies: 53
Views: 12118

Re: Windows Scaling 300%

parsing the SVG during drawing instead just once when loadin if you do not read my post completely... I wrote that the SVG's are parsed and FromDIP's only one at starting up the application. Every SVG represents an object and has its own wxWindow on the main panel. Also the drawing takes place on i...
by rocrail
Fri Mar 01, 2024 6:49 am
Forum: Platform Related Issues
Topic: Windows Scaling 300%
Replies: 53
Views: 12118

Re: Windows Scaling 300%

Now I will test with the extra configure option for D2D: --enable-graphics-d2d
this option makes it even worse.