Search found 80 matches

by macros
Fri Aug 29, 2025 11:23 am
Forum: Bugs - Windows
Topic: [Done] DrawVectorImage(ImageID(img)) sometimes draws the wrong image
Replies: 13
Views: 983

Re: DrawVectorImage(ImageID(img)) sometimes draws the wrong image

Ok thanks for the image. Now that I know exactly what to look for I performed some further tests.

On my Linux System everything is correct.

When I boot up my Win10 VM and let the code run there I observe a somewhat consistent error:
On Page 28 starting with Jane Doe 435 wrong images are shown ...
by macros
Fri Aug 29, 2025 10:20 am
Forum: Bugs - Windows
Topic: [Done] DrawVectorImage(ImageID(img)) sometimes draws the wrong image
Replies: 13
Views: 983

Re: DrawVectorImage(ImageID(img)) sometimes draws the wrong image

I performed the test too and here everything is in order independent of the compiler chosen. Can you maybe show a picture of what to expect?

Differences to your system may be: I am using Linux (Kubuntu 25.04), I recently changed my laptop, the CPU is fast with lots of RAM (7840HS 32GB RAM).

I even ...
by macros
Wed Aug 20, 2025 2:12 pm
Forum: Bugs - Linux
Topic: [Done] PB 6.21 Canvas Gadget #PB_EventType_Resize unreliable
Replies: 3
Views: 629

Re: [PB 6.21] Canvas Gadget #PB_EventType_Resize unreliable

Thank you, that is a great solution for now and should help the developers to fix the issue under GTK.

Also it seems I had forgotten that you can bind single #PB_EventTypes to procedures. Thanks for pointing me at it, I simplified the sample code a bit.

Unfortunately a solution for qt is not as ...
by macros
Wed Aug 20, 2025 12:38 pm
Forum: Bugs - Linux
Topic: [Done] PB 6.21 Canvas Gadget #PB_EventType_Resize unreliable
Replies: 3
Views: 629

[Done] PB 6.21 Canvas Gadget #PB_EventType_Resize unreliable

Under Kubuntu Linux 25.04 with a plasma X11 or Wayland session the Resize event does not work as it should.
Under the GTK subsystem it fires in most cases, but not all of them. Especially when enlarging a windows slowly the event does not fire.
Unter the QT subsystem the event does not fire at all ...
by macros
Thu May 15, 2025 2:35 pm
Forum: Bugs - IDE
Topic: [PB 6.21 Beta 9] Linux: Singe instance setting is not working
Replies: 1
Views: 1740

[PB 6.21 Beta 9] Linux: Singe instance setting is not working

Under Kubuntu 25.04 the IDE opens multiple instances even though the single instance setting is set.
This happens under Wayland and X11 sessions.

If launched while another instance is running the IDE will complain that it has not quit correctly and ask to open the session history.
If a *.pb file is ...
by macros
Thu May 15, 2025 1:15 pm
Forum: Bugs - IDE
Topic: [PB 6.21 Beta 9] Linux: Debugger tooltip of structure shows only dots (regression)
Replies: 0
Views: 1916

[PB 6.21 Beta 9] Linux: Debugger tooltip of structure shows only dots (regression)

Unter the current beta there is a regression bug with the structure tooltips in the debugger.

Only dots are shown and not the structure. I guess it is related to this commit:
https://github.com/fantaisie-software/purebasic/pull/287/commits/30c38019bd6da028d1aa7bb034f501f07fd4af00

Under PureBasic 6 ...
by macros
Tue Dec 24, 2024 10:53 am
Forum: Tricks 'n' Tips
Topic: Mandelbrot set and Julia set using the OpenGLGadget and a fragment shader
Replies: 26
Views: 7082

Re: Mandelbrot set and Julia set using the OpenGLGadget and a fragment shader

Here both versions work flawlessly (Stargates Original Code and mpz's version)
Kubuntu 24.04 + PB 6.12 and Radeon Phoenix1 GPU (an APU)

For the original code I just added
CompilerIf #PB_Compiler_OS = #PB_OS_Linux
ImportC "-lGL"
wglGetProcAddress_(s.p-ascii) As "glXGetProcAddress"
EndImport ...
by macros
Sat Sep 28, 2024 10:42 pm
Forum: Bugs - Documentation
Topic: Website: Download button vanishes with 480-767 px width
Replies: 0
Views: 3635

Website: Download button vanishes with 480-767 px width

Hi,

I just tried downloading PureBasic on an old device with fixed screen width and couldn't.

A look at the CSS file :
@media only screen and (min-width: 480px) and (max-width: 767px) {
.search-container,
.login-container {
display: none !important;
}
}

No wonder I can't find the button ...
by macros
Sun Jun 30, 2024 9:17 am
Forum: Raspberry PI
Topic: New Raspberry PI 5
Replies: 6
Views: 10242

Re: New Raspberry PI 5

There are some workarounds to get xscreensaver working under wayland:
https://www.linux.org/threads/xscreensa ... and.43543/
and also
https://sr.ht/~mstoeckl/wscreensaver/

But as long as you are happy with X11, no need to switch just for the sake of novelty :)
by macros
Fri Jun 07, 2024 9:51 pm
Forum: Coding Questions
Topic: [PB 6.11 LTS] [Not a Bug] Can not access address of variable in module
Replies: 2
Views: 745

Re: [PB 6.11 LTS] Can not access address of variable in module

Thanks that solves it!
Of course it also works within the with statement.

I think this should be added to the documentation, it would be good if the behaviour with the module syntax is mentioned in the "Pointers and memory access" or "Module" help.
by macros
Fri Jun 07, 2024 3:38 pm
Forum: Coding Questions
Topic: [PB 6.11 LTS] [Not a Bug] Can not access address of variable in module
Replies: 2
Views: 745

[PB 6.11 LTS] [Not a Bug] Can not access address of variable in module

When using a module prefix with the two double colons together with an @ the compiler throws an error.
The syntax seems to be valid to me.

Edit: solved below by fryquez, maybe document behaviour?

DeclareModule M_module
Global g_var=20
EndDeclareModule

Module M_module
EndModule

Debug M_module ...
by macros
Mon Oct 23, 2023 12:08 pm
Forum: Announcement
Topic: PureBasic 6.03 LTS is released !
Replies: 184
Views: 67222

Re: PureBasic 6.03 LTS is released !

I also say thanks for the huge amount of bug fixes in this version!

A small monetary thanks is on its way too. :D
by macros
Tue Oct 10, 2023 3:19 pm
Forum: Bugs - Linux
Topic: [PB 6.03 Beta 10] [Kubuntu 23.10] Ctrl+Z slowdown with Wayland
Replies: 0
Views: 5081

[PB 6.03 Beta 10] [Kubuntu 23.10] Ctrl+Z slowdown with Wayland

When using Purebasic under Wayland undoing larger amounts of typing is very slow.
Purebasic uses XWayland in that case.

It seems the autocomplete window steals focus from the coding area.
A video can be seen here.
CTL+Z is hold down at 20 seconds. Ctrl+Y seems to be much less affected, but ...
by macros
Sat Oct 07, 2023 10:58 am
Forum: Announcement
Topic: PureBasic 6.03 LTS is released !
Replies: 184
Views: 67222

Re: PureBasic 6.03 LTS beta 10 is ready to test !

Thank you for the accessibility, I am lucky enough to not be in need, but I greatly appreciate it!

Regarding help crashes:
Here under a native Kubuntu 23.10 installation everything works.
Regardless of X11/Wayland session gtk3/gtk2 GUI.
by macros
Sat Aug 19, 2023 8:30 pm
Forum: Announcement
Topic: PureBasic 6.03 LTS is released !
Replies: 184
Views: 67222

Re: PureBasic 6.03 LTS beta 5 is ready to test !

Also thanks from my side, its awesome to have working links in the help again!