Heya all,
I apologise for being too aggressive in my posts regarding the latest PB 6.21, mainly the big images in menus on Windows and the different results on Linux.
Here is the background:
After two years working on V4.0 of my Hunspell open-source tool “Proofing Tool GUI” (PTG) I had to release ...
Search found 902 matches
- Sun Jun 22, 2025 7:54 am
- Forum: Off Topic
- Topic: PTG 4.0 and near suicide
- Replies: 6
- Views: 419
- Thu Jun 19, 2025 11:23 am
- Forum: Bugs - Linux
- Topic: [PB6.21] Bug? All radio buttons become on
- Replies: 12
- Views: 326
Re: [PB6.21] Bug? All radio buttons become on
@marcoagpinto
I'm curious to know how you fixed your app? Did you rewrite it so it's compatible with both systems or did you use CompilerIf and two sets of code, depending? Or something else?
Just a thought, how about writing it to work on Linux first? Maybe it would be less trouble doing it ...
- Thu Jun 19, 2025 10:32 am
- Forum: Bugs - Linux
- Topic: [PB6.21] Bug? All radio buttons become on
- Replies: 12
- Views: 326
Re: [PB6.21] Bug? All radio buttons become on
It's not a bug because to ensure it works as a group the OptionGadget() should be created without gadget in between. That said, excluding TextGadget() which doesn't have a tabstop makes sense, even if it's not documented as is.
@Fred,
If on Windows, it had selected all the radio buttons, I ...
- Thu Jun 19, 2025 9:41 am
- Forum: Bugs - Linux
- Topic: [PB6.21] Bug? All radio buttons become on
- Replies: 12
- Views: 326
Re: [PB6.21] Bug? All radio buttons become on
@Fred
I have fixed it in my app, but would it be possible for it to work in Windows like it does on Linux?
This way it would have been working before I compiled the code on Linux.
Thanks!
I have fixed it in my app, but would it be possible for it to work in Windows like it does on Linux?
This way it would have been working before I compiled the code on Linux.
Thanks!
- Mon Jun 16, 2025 11:19 am
- Forum: Bugs - Linux
- Topic: [PB6.21] Bug? All radio buttons become on
- Replies: 12
- Views: 326
Re: [PB6.21] Bug? All radio buttons become on
And it works well on Windows 11.
- Mon Jun 16, 2025 11:14 am
- Forum: Bugs - Linux
- Topic: [PB6.21] Bug? All radio buttons become on
- Replies: 12
- Views: 326
Re: [PB6.21] Bug? All radio buttons become on
The first time this function is called, a group is created and all following calls of OptionGadget() will add a gadget to this group. To finish the group, just create a gadget of another type.
IMHO this is not a big and it is according to the documentation.
Solution, create all of the ...
- Mon Jun 16, 2025 10:22 am
- Forum: Bugs - Linux
- Topic: [PB6.21] Bug? All radio buttons become on
- Replies: 12
- Views: 326
[PB6.21] Bug? All radio buttons become on
Heya,
On Windows 11 this works well, but on Ubuntu 24.04 all the radio buttons become on (selected).
It seems like a bug to me.
Procedure GadgetFit(MARCOAGPINTO_gadget)
MARCOAGPINTO_x=GadgetX(MARCOAGPINTO_gadget)
MARCOAGPINTO_y=GadgetY(MARCOAGPINTO_gadget)
MARCOAGPINTO_w=GadgetWidth ...
On Windows 11 this works well, but on Ubuntu 24.04 all the radio buttons become on (selected).
It seems like a bug to me.
Procedure GadgetFit(MARCOAGPINTO_gadget)
MARCOAGPINTO_x=GadgetX(MARCOAGPINTO_gadget)
MARCOAGPINTO_y=GadgetY(MARCOAGPINTO_gadget)
MARCOAGPINTO_w=GadgetWidth ...
- Fri Jun 13, 2025 6:20 pm
- Forum: Linux
- Topic: Ubuntu 24.04: #PB_Event_LeftClick
- Replies: 11
- Views: 466
Re: Ubuntu 24.04: #PB_Event_LeftClick
It worked!
Thank you!
Only now I tried it since I was very scared that it might not work.

Thank you!
Only now I tried it since I was very scared that it might not work.





- Fri Jun 13, 2025 10:07 am
- Forum: Linux
- Topic: Ubuntu 24.04: #PB_Event_LeftClick
- Replies: 11
- Views: 466
Re: Ubuntu 24.04: #PB_Event_LeftClick
Okay, I will write it in another way.
Clear the DEBUG window and left-click on the hyperlink gadget.
The correct for me would it be to show:
17
1000
1000
and not:
17
0
0
Clear the DEBUG window and left-click on the hyperlink gadget.
The correct for me would it be to show:
17
1000
1000
and not:
17
0
0
- Fri Jun 13, 2025 9:28 am
- Forum: Linux
- Topic: Ubuntu 24.04: #PB_Event_LeftClick
- Replies: 11
- Views: 466
Re: Ubuntu 24.04: #PB_Event_LeftClick
The whole point is that if I check for the left mouse click, the other two variables in WaitWindowsEvent() come out as 0.
In Windows it works the way it should, I believe.
If I left-click over a gadget the other two variables should also include the gadget, I believe.
In Windows it works the way it should, I believe.
If I left-click over a gadget the other two variables should also include the gadget, I believe.
- Fri Jun 13, 2025 9:09 am
- Forum: Linux
- Topic: Ubuntu 24.04: #PB_Event_LeftClick
- Replies: 11
- Views: 466
Re: Ubuntu 24.04: #PB_Event_LeftClick
The whole idea of my code is the "About" window of my app.
Clicking anywhere in the window should change the variable: okay=#True
But I have hyperlinks in it and I don't want the window to close if you click on them.
However, left-clicking overrides the hyperlinks clicking, since it ignores them.
Clicking anywhere in the window should change the variable: okay=#True
But I have hyperlinks in it and I don't want the window to close if you click on them.
However, left-clicking overrides the hyperlinks clicking, since it ignores them.
- Fri Jun 13, 2025 5:49 am
- Forum: Linux
- Topic: Ubuntu 24.04: #PB_Event_LeftClick
- Replies: 11
- Views: 466
Ubuntu 24.04: #PB_Event_LeftClick
This code behaves differently on Windows vs Ubuntu 24.04.
I detect the left-click of the mouse to exit the about window of my app, but I assure that I don't click on any hyperlink.
However, on Ubuntu the event gadget on left-click is always 0, so it always exits the about window even if I click on ...
I detect the left-click of the mouse to exit the about window of my app, but I assure that I don't click on any hyperlink.
However, on Ubuntu the event gadget on left-click is always 0, so it always exits the about window even if I click on ...
- Thu Jun 12, 2025 9:33 pm
- Forum: Bugs - Linux
- Topic: [PB 6.21] PB_Text_Center doesn't work on TextGadgets on Ubuntu 24.04
- Replies: 10
- Views: 424
Re: [PB 6.21] PB_Text_Center doesn't work on TextGadgets on Ubuntu 24.04
I was going to make a donation to Fred next month after I receive the holidays income.
Maybe I could pay for him to implement instead of being a mere donation.
Maybe I could pay for him to implement instead of being a mere donation.
- Thu Jun 12, 2025 9:05 pm
- Forum: Bugs - Linux
- Topic: [PB 6.21] PB_Text_Center doesn't work on TextGadgets on Ubuntu 24.04
- Replies: 10
- Views: 424
Re: [PB 6.21] PB_Text_Center doesn't work on TextGadgets on Ubuntu 24.04
But can't Fred make that built-in so that we don't have to write extra code (so that it works out of the box)?
- Thu Jun 12, 2025 9:03 pm
- Forum: Bugs - Linux
- Topic: [PB 6.21] PB_Text_Center doesn't work on TextGadgets on Ubuntu 24.04
- Replies: 10
- Views: 424
Re: [PB 6.21] PB_Text_Center doesn't work on TextGadgets on Ubuntu 24.04
Solution ... gtk_label_set_justify :wink:
OpenWindow(1,10,10,800,600,"Testing",#PB_Window_SystemMenu|#PB_Window_MinimizeGadget|#PB_Window_SizeGadget)
OpenWindow(2,0,0,640,480,"About",#PB_Window_WindowCentered,WindowID(1))
DisableWindow(1,#True)
x=10
y=10
; Current PureBasic information ...