Surrounding white frame in fullscreen
Stephan Witt
st.witt at gmx.net
Sat Nov 21 16:24:34 UTC 2020
Am 21.11.2020 um 16:08 schrieb Pavel Sanda <sanda at lyx.org>:
>
> On Fri, Nov 20, 2020 at 02:56:06PM +0100, Pavel Sanda wrote:
>> On Fri, Nov 20, 2020 at 01:37:28PM +0100, Pavel Sanda wrote:
>>> Hi,
>>>
>>> until (at least) Qt 5.7.1 fullscreen was over the whole screen, in newer Qt
>>> (tested 5.11.3) there is now two bright pixel frame around (well visible and
>>> annoying if you use dark color schemes). This is because the former workaround
>>> trick with setContentsMargins(-2, -2, -2, -2); in fullscreen handler (or
>>> ui-toggle frame lfun) does not work anymore and negative values are not
>>> accepted now.
>>>
>>> The margin might be coming from some child widget of QMainWindow, I just dont
>>> know which one. Anyone has idea how to fix that?
>>
>> The following patch fixes the problem.
>> Stephan/Yu can you test whether I did not break fullscreen border on mac/windows?
>
> It's in now, still waiting for Stephen/Yu feedback.
> Pavel
IMO you didn’t break fullscreen border. Here on Mac it looks normal.
Stephan
More information about the lyx-devel
mailing list