PB 6.30 b4 - ResizeWindow() not work

Post bugreports for the Linux version here
User_Russian
Addict
Addict
Posts: 1595
Joined: Wed Nov 12, 2008 5:01 pm
Location: Russia

PB 6.30 b4 - ResizeWindow() not work

Post by User_Russian »

In Raspberry Pi OS (Kernel 6.12, Debian 12) when using qt subsystems, not work function ResizeWindow(). There is no problem with gtk subsystems. There is also no this problem with the qt subsystem in LInux Mint for PC.

Code: Select all

Procedure Click()
  ResizeWindow(0, 100, 100, #PB_Ignore, #PB_Ignore)
EndProcedure

If OpenWindow(0, 0, 0, 222, 200, "ButtonGadgets", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
  ButtonGadget(0, 10, 10, 200, 20, "Standard Button")
  BindGadgetEvent(0, @Click())
  Repeat : Until WaitWindowEvent() = #PB_Event_CloseWindow
EndIf
The window is always centered on the screen even if there is no flag #PB_Window_ScreenCentered.