Forum > General
Size of the main project form drifts when open Lazarus
TRon:
--- Quote from: backprop on February 11, 2024, 02:48:52 pm ---I do not know much about technical things on linux, but it is debian based KDE distro, default installation and latest updates:
--- End quote ---
afaik by default KDE uses Wayland and that is reported to have issues with Lazarus. See for example here. Wayland is fairly new in comparison to X11 and that seem to cause issues because of incompatibilities. Though afaik most problems seem to occur when using the qt widgetset.
dbannon has more knowledge on the subject so perhaps he is able to add his thoughts.
BTW: I just stumbled upon this though being a rambling session against Wayland it shows some of the issues that software developers seem to have to cope with these days..
dbannon:
Yes, Wayland has a long way to go IHMO. And, to add to the issue, KDE has only (relatively) recently adopted Wayland, far later than Gnome. So, bound to be bugs I am afraid. To make matters works, Neon has a policy of taking the newest available KDE so, again, a risk factor.
So, Backprop, did you try using X11 rather than Wayland ?
Just log out (not shutdown, just log out). You will get a login screen with somewhere to enter your password (and possibly username). Down in the lower left corner its will say something like "Plasma on Wayland", click that and select something that mentions X11. Then do the username/password thing and test for this problem.
The switch to Wayland is totally reversible, you switch back and forward as outlined above. Apart from fewer bugs with x11, you probably won't notice a difference.
Davo
backprop:
Actually, it is set Plasma (X11) by default... Maybe I should set Wayland instead and try! ;)
--- 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";}};} ---udo cat /var/lib/sddm/state.conf[Last]Session=/usr/share/xsessions/plasma.desktop
Now, I do not know why this problem exists. Perhaps some setting in cfg file of IDE is messed up or not updated properly.
Well, If I open project, set all what should be in the project form and IDE, reload and reset the PC while IDE with the project is opened, all weirdness happens as well.
dbannon:
Wow, thats interesting. Neon, known as leading edge distro, choose to ship with Wayland disabled ? Light at the end of the tunnel ....
I doubt the issue relates to Lazarus IDE Settings but it could well be something to do with the KDE Desktop settings. I am not sufficiently familiar with KDE to tell you where to look but I suggest you poke around in the Display and Screen settings. Many do now have things like making a window jump to the edge of the screen (or full screen) as you move close to that edge. There are probably other 'auto' things there too, hopefully you can disable them one by one and see if that helps. If KDE offers different rendering tools, maybe worth trying one of those too.
Does not sound like anyone else is seeing this problem so its, sort of, an indication that the problem is in your system rather than Lazarus. As the other distros catch up with the newer KDE, other people may see it too. Perhaps.
Davo
EDIT: Another experiment might be worthwhile, assuming you installed using the deb files from SourceForge, you will have got a gtk2 version of the Lazarus IDE. You could try building a Qt5 one form source. The various distros have been threatening to drop gtk2 support for some time now, its probable they don't put too much effort into testing gtk2
JuhaManninen:
--- Quote from: dbannon on February 12, 2024, 11:52:49 pm ---Does not sound like anyone else is seeing this problem so its, sort of, an indication that the problem is in your system rather than Lazarus. As the other distros catch up with the newer KDE, other people may see it too. Perhaps.
--- End quote ---
I have a rolling Manjaro Linux + KDE. It has the latest versions of everything yet no such problems here.
--- Quote ---EDIT: Another experiment might be worthwhile, assuming you installed using the deb files from SourceForge, you will have got a gtk2 version of the Lazarus IDE. You could try building a Qt5 one form source. The various distros have been threatening to drop gtk2 support for some time now, its probable they don't put too much effort into testing gtk2
--- End quote ---
Yes, KDE is made with QT5. Building Lazarus and other LCL apps with LCL-QT5 is a good idea.
GTK2 is ancient and is starting to create problems in many distros.
Navigation
[0] Message Index
[*] Previous page