Forum > QT
Qt5 dummy widget with size 75x32 is visible on app start
AlexTP:
Please see the description of the problem + youtube video.
I found the Qt5 WS part which creates such a window: posted there to Github.
https://github.com/Alexey-T/CudaText/issues/4011
How can we avoid that tiny window?
AlexTP:
Can we have new IFDEF for that dummy-window?
This place must be changed
--- 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";}};} --- {$IFDEF HASX11} if QtMainWindow.IsMainForm and not Application.HasOption('disableaccurateframe') then begin (* AWindowManager := LowerCase(GetWindowManager); //Kwin,Openbox,wmaker-common - ok if Application.HasOption('hideaccurateframe') or not ( (AWindowManager = 'kwin') or (AWindowManager = 'openbox') or (AWindowManager = 'wmaker-common') ) then QtWidgetSet.CreateDummyWidgetFrame(AWinControl.Left, AWinControl.Top, AWinControl.Width, AWinControl.Height) else *) QtWidgetSet.CreateDummyWidgetFrame(-1, -1, -1, -1); {only mentioned window managers literally move dummy widget out of screen - no flickering} end; {$ENDIF}
dbannon:
I cannot replicate this problem on a Debian Bullseye running KDE Plasma with the Qt5 version of tomboy-ng. Is its OS specific ? What OS are you testing on and do you know what OS your end user is using ?
Davo
AlexTP:
It is Window Manager specific. It is visible under configuration of GitHub user who reported it.
Plasma 5.24 in KDE Neon; KWin.
dbannon:
It must be more than Window Manager specific, my Debian KDE Plasma also uses KWin as Window Manager (of course, its the default). So maybe specific to 5.24 ?
Apparently, I'm using KDE 5:20.5 (I say apparently because the version reported by synaptic is 5:111 but kwin gets 4:5.20.5-1 ??). Anyway, Debian unstable, right now, does have 5.24, I will see if I can get it going ....
Davo
Navigation
[0] Message Index
[#] Next page