Page 1 of 1

nextcloud in WebViewGadget() -> crash

Posted: Mon Sep 29, 2025 12:43 pm
by infratec
If I try to open a nextcloud web page in a WebViewGadget() the nextcloud page opens, but if I open the talk application it crashes

It looks like gtk4 is needed.
Any ideas?

Btw. in macOS the nextcloud I recieve the message: browser to old (Ok, the user can 'continue with unsupported browser', but it's ugly)
In windows it works without problems.

Re: nextcloud in WebViewGadget()

Posted: Tue Sep 30, 2025 8:01 am
by infratec
A small code for testing:

Code: Select all

EnableExplicit


Define URL$


URL$ = InputRequester("Nextcloud URL", "Enter the URL of your nextcloud", "https://nextcloud.")
If URL$
  
  OpenWindow(0, 0, 0, 1024, 768, "Nextcloud Test", #PB_Window_SystemMenu|#PB_Window_ScreenCentered)
  
  ;WebGadget(0, 10, 10, 1004, 748, URL$, #PB_Web_Edge)
  WebViewGadget(0, 10, 10, 1004, 748)
  SetGadgetText(0, URL$)
  
  Repeat
  Until WaitWindowEvent() = #PB_Event_CloseWindow
  
EndIf