I was just testing Proofing Tool GUI compiling in Ubuntu 17.04 x86.
I found two bugs but for now I will only report this one.
When I open a window over the main window and disable the main window, the main window doesn't get disabled (it continues clickable).
Code: Select all
#WINDOW_MAIN=1
#WINDOW_ADD_EDIT=2
window_resolution=1280
If OpenWindow(#WINDOW_MAIN,0,0,window_resolution,600,"Proofing Tool GUI",#PB_Window_SystemMenu | #PB_Window_MinimizeGadget | #PB_Window_ScreenCentered)=#False : MessageRequester("Error", "Can't open a window.", 0) : EndIf
t$="Add/Edit words in the dictionary"
If OpenWindow(#WINDOW_ADD_EDIT,0,0,(1024-800)+(800-640)+640-10,200-50-20-20+100+100+200-30-30-30+10+120,t$,#PB_Window_WindowCentered,WindowID(#WINDOW_MAIN))=0 : MessageRequester("Error", "Can't open a window.") : EndIf
DisableWindow(#WINDOW_MAIN,#True)
cancel=#False
Repeat
event=WaitWindowEvent()
; Pressed the close window gadget (Ubuntu)
If event=#PB_Event_CloseWindow
cancel=#True
EndIf
Until cancel=#True