View Single Post
Old 10-13-2015, 03:00 PM   #7
m4mmon
Enthusiast
m4mmon is my name, but call me Ishmael.m4mmon is my name, but call me Ishmael.m4mmon is my name, but call me Ishmael.m4mmon is my name, but call me Ishmael.m4mmon is my name, but call me Ishmael.m4mmon is my name, but call me Ishmael.m4mmon is my name, but call me Ishmael.m4mmon is my name, but call me Ishmael.m4mmon is my name, but call me Ishmael.m4mmon is my name, but call me Ishmael.m4mmon is my name, but call me Ishmael.
 
Posts: 49
Karma: 107174
Join Date: Mar 2012
Device: PB631, PB741, PB840
Thank you for the tip.
Unfortunately, even if I do it before initializing the main Qt dialog, it eats up space at the bottom of the screen, I think this has something to do with pb platform implementation. I have to find out what is going on there.
I can see pb Qt splash screen ("browser") moving up when the API is called, and space at the bottom is kind of lost.


Narrowed it... in Qt pb platform integration plugin. Qt system determines "desktop" size by substracting PanelHeight() to ScreenHeight(). It does not seem to care whether or not the panel is hidden afterwards.
I just verified that by LD_PRELOAD-ing this function and making it return 0. I have to find a proper way to notify Qt of "desktop" screen resolution change when toggling on/off the top panel, surely sending some signal or event to some object.

Last edited by m4mmon; 10-13-2015 at 05:03 PM. Reason: updates
m4mmon is offline   Reply With Quote