I have just noticed #PB_Window_MaximizeGadget is not doing anything on my newly updated Ubuntu 10.xx, PB4.6. (Fails in the example window.pb even)
Am I doing something stupid, or is this actually a problem?
#PB_Window_MaximizeGadget not working
Re: #PB_Window_MaximizeGadget not working
dose it work with these flags?
#PB_Window_MaximizeGadget | #PB_Window_MinimizeGadget |#PB_Window_SizeGadget
#PB_Window_MaximizeGadget | #PB_Window_MinimizeGadget |#PB_Window_SizeGadget
Windows 11, Manjaro, Raspberry Pi OS


Re: #PB_Window_MaximizeGadget not working
Adding #PB_Window_SizeGadget does make it work. Just another of those little anomalies between Windows & Linux I guess.
Thanks for that Idle. You would think I would have tried that already.....
Thanks for that Idle. You would think I would have tried that already.....
Re: #PB_Window_MaximizeGadget not working
well you've tried it now!
It may well be a bug.
It may well be a bug.
Windows 11, Manjaro, Raspberry Pi OS


Re: #PB_Window_MaximizeGadget not working
Here is a couple of samples which I might get someone to confirm before I report as a bug. 1. will recreate the issue where the maximise button is not displayed, 2. with the added #PB_Window_SizeGadget flag will work as expected with the maximise button working correctly
1.
2.
1.
Code: Select all
If OpenWindow(0, 100, 200, 195, 260, "PureBasic Window", #PB_Window_SystemMenu | #PB_Window_MinimizeGadget | #PB_Window_MaximizeGadget)
Repeat
Ev=WaitWindowEvent(1)
If Ev=#PB_Event_CloseWindow
quit=1
EndIf
Until Quit
EndIf Code: Select all
If OpenWindow(0, 100, 200, 195, 260, "PureBasic Window", #PB_Window_SystemMenu | #PB_Window_MinimizeGadget | #PB_Window_MaximizeGadget|#PB_Window_SizeGadget)
Repeat
Ev=WaitWindowEvent(1)
If Ev=#PB_Event_CloseWindow
quit=1
EndIf
Until Quit
EndIf Re: #PB_Window_MaximizeGadget not working
confirmed on ubuntu 11.10
Windows 11, Manjaro, Raspberry Pi OS


Re: #PB_Window_MaximizeGadget not working
confirmed on LinuxMint 12 x64 + Gnome-Shell
Best regards.
Guimauve
Best regards.
Guimauve


