Forum > General

a small window appears

(1/3) > >>

atell:
Hi ,all.
I'm Japanese Developer. I am using of Lazarus 4.0RC1 and fpc 3.2.3 on Raspberry Pi 400(Raspberry Pi OS 64bit).


--- Code: Pascal  [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---(test001:4940): Gtk-CRITICAL **: --:--:--.---: IA__gtk_widget_hide: assertion 'GTK_IS_WIDGET (widget)' failed(test001:4940): Gtk-CRITICAL **: --:--:--.---: IA__gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
Firstly, a small window appears when the program is executed. The main program won't start unless I close that window. After closing it, the above widget message appears. In fact, it also appears when you start the Lazarus IDE.

How can I fix this widget error and prevent the small window from appearing before the main program starts?

Please  O:-)

Regard,
Thank you.

atell at Sapporo City, Hokkaido, Japan.

TRon:
The issue is related to Wayland and an report has already been filed here.

In the ticket itself is an explanation what conditions have to be met to cause this issue thus also indicates what can be done to circumvent it.

fwiw: Wayland is not a finished product.

atell:
Thank you very much. :D

For now, I would like to use the '-disableaccurateframe' option.

I see, 'The Empty Window'...

Thank you again.

Thaddy:
An important side note: Yes, Wayland is something of a moving target, which in my opinion means that it is better to use the work-arounds rather than trying to "fix" code from the Freepascal side. The latter will almost certainly cause more problems once Wayland either supports it properly or denies its use properly as deprecated.
This remark stems from extensive work on Raspberry Pi's in Wayland mode and all the changes that regularly appear when updating the OS.
Only a couple of months ago I used to switch to X, but note that is no longer necessary in most cases and Wayland is definitely an improvement over X. At least it should be, based on the design model. It also means you need to regularly update your OS.
If it bothers you you can still switch to X of course.

atell:
Thank you, TRon-san, Thaddy-san.  :)

Thank you for your insightful explanation. I also believe that using the options will be beneficial in the long run. However, it is inconvenient that the option settings cannot be automated and are left to the user. Is there perhaps a way to automate the option specification?

Atell.  :)

Navigation

[0] Message Index

[#] Next page

Go to full version