Mailing List Archive

Ticket #13544: Qt 5.14 : GUI displays a white rectangle.
#13544: Qt 5.14 : GUI displays a white rectangle.
-------------------------------------------------+-------------------------
Reporter: hamelg | Owner: (none)
Type: Bug Report - General | Status: new
Priority: minor | Milestone:
| needs_triage
Component: MythTV - User Interface Library | Version: v30-fixes
Severity: medium | Keywords:
Ticket locked: 0 |
-------------------------------------------------+-------------------------
Since the upgrade to qt5-5.14, my frontend has displayed a big white
rectangle covering the top 3/4 of the myth window when exiting a
recording/video playback, and also in some of the menus. Once it's
appeared, the only way to get rid is to exit the frontend and restart. The
rectangle seems to be part of myth (ie, not another application)
Downgrading qt back to 5.13 resolves the issue. (qt5-base,
qt5-declarative, qt5-location, qt5-script, qt5-sensors, qt5-webchannel).

The Archlinux users encounter this issue, see the discussion here :
https://aur.archlinux.org/packages/mythtv

A screenshot is attached to the report.

--
Ticket URL: <https://code.mythtv.org/trac/ticket/13544>
MythTV <http://www.mythtv.org>
MythTV Media Center
Re: Ticket #13544: Qt 5.14 : GUI displays a white rectangle. [ In reply to ]
#13544: Qt 5.14 : GUI displays a white rectangle.
---------------------------------------------+-----------------------------
Reporter: hamelg | Owner: (none)
Type: Bug Report - General | Status: new
Priority: minor | Milestone:
| needs_triage
Component: MythTV - User Interface Library | Version: v30-fixes
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
---------------------------------------------+-----------------------------
Changes (by hamelg):

* Attachment "Screenshot_20191229_154018.png" added.

This screenshot shows the issue.

--
Ticket URL: <https://code.mythtv.org/trac/ticket/13544>
MythTV <http://www.mythtv.org>
MythTV Media Center
Re: Ticket #13544: Qt 5.14 : GUI displays a white rectangle. [ In reply to ]
#13544: Qt 5.14 : GUI displays a white rectangle.
---------------------------------------------+-----------------------------
Reporter: hamelg | Owner: (none)
Type: Bug Report - General | Status: new
Priority: minor | Milestone:
| needs_triage
Component: MythTV - User Interface Library | Version: v30-fixes
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
---------------------------------------------+-----------------------------

Comment (by hamelg):

I use the mythbuntu theme.

I applied the workaround suggested here to remove the white rectangle :
https://forum.mythtv.org/viewtopic.php?f=36&t=3505#p16947

In the file Mythbuntu/base.xml :


{{{
<webbrowser name="basewebbrowser">
<area>0,0,0,0</area>
</webbrowser>
}}}

--
Ticket URL: <https://code.mythtv.org/trac/ticket/13544#comment:1>
MythTV <http://www.mythtv.org>
MythTV Media Center
Re: Ticket #13544: Qt 5.14 : GUI displays a white rectangle. [ In reply to ]
#13544: Qt 5.14 : GUI displays a white rectangle.
---------------------------------------------+-----------------------------
Reporter: hamelg | Owner: (none)
Type: Bug Report - General | Status: new
Priority: minor | Milestone:
| needs_triage
Component: MythTV - User Interface Library | Version: v30-fixes
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
---------------------------------------------+-----------------------------

Comment (by thebitpit):

Bug https://code.mythtv.org/trac/ticket/13566 is a duplicate of this bug.

The actual problem is caused by the creation of an unused child webbrowser
window at startup that is never destroyed. The white window is the unused
browser window. The display order gets changed so that appears to come and
go. It is not on top some of the time. The workaround makes it so small it
doesn't get in the way.

Both mythfrontend and mythtv-setup have this bug. I suspect it has been in
mythtv for some time. The latest Qt version exposed it by changing the
order of visibility.

By the way, editing /usr/share/mythtv/themes/default-wide/base.xml in the
gentoo distribution should workabound the problem for wide themes.

--
Ticket URL: <https://code.mythtv.org/trac/ticket/13544#comment:2>
MythTV <http://www.mythtv.org>
MythTV Media Center
Re: Ticket #13544: Qt 5.14 : GUI displays a white rectangle. [ In reply to ]
#13544: Qt 5.14 : GUI displays a white rectangle.
---------------------------------------------+-----------------------------
Reporter: hamelg | Owner: (none)
Type: Bug Report - General | Status: new
Priority: minor | Milestone:
| needs_triage
Component: MythTV - User Interface Library | Version: v30-fixes
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
---------------------------------------------+-----------------------------

Comment (by Peter Bennett):

Is this caused by one of the plugins? Check by testing without plugins
installed.

--
Ticket URL: <https://code.mythtv.org/trac/ticket/13544#comment:3>
MythTV <http://www.mythtv.org>
MythTV Media Center
Re: Ticket #13544: Qt 5.14 : GUI displays a white rectangle. [ In reply to ]
#13544: Qt 5.14 : GUI displays a white rectangle.
---------------------------------------------+-----------------------------
Reporter: hamelg | Owner: (none)
Type: Bug Report - General | Status: new
Priority: minor | Milestone:
| needs_triage
Component: MythTV - User Interface Library | Version: v30-fixes
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
---------------------------------------------+-----------------------------

Comment (by hamelg):

I have no plugins installed and I encounter the issue.

--
Ticket URL: <https://code.mythtv.org/trac/ticket/13544#comment:4>
MythTV <http://www.mythtv.org>
MythTV Media Center
Re: Ticket #13544: Qt 5.14 : GUI displays a white rectangle. [ In reply to ]
#13544: Qt 5.14 : GUI displays a white rectangle.
---------------------------------------------+-----------------------------
Reporter: hamelg | Owner: (none)
Type: Bug Report - General | Status: new
Priority: minor | Milestone:
| needs_triage
Component: MythTV - User Interface Library | Version: v30-fixes
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
---------------------------------------------+-----------------------------
Changes (by paul-h):

* Attachment "mythuiwebbrowser.diff" added.

Possible fix

--
Ticket URL: <https://code.mythtv.org/trac/ticket/13544>
MythTV <http://www.mythtv.org>
MythTV Media Center
Re: Ticket #13544: Qt 5.14 : GUI displays a white rectangle. [ In reply to ]
#13544: Qt 5.14 : GUI displays a white rectangle.
---------------------------------------------+-----------------------------
Reporter: hamelg | Owner: (none)
Type: Bug Report - General | Status:
| infoneeded_new
Priority: minor | Milestone:
| needs_triage
Component: MythTV - User Interface Library | Version: v30-fixes
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
---------------------------------------------+-----------------------------
Changes (by paul-h):

* status: new => infoneeded_new


Comment:

Added a possible patch to fix this. Can someone who can reproduce this
please test it.

--
Ticket URL: <https://code.mythtv.org/trac/ticket/13544#comment:5>
MythTV <http://www.mythtv.org>
MythTV Media Center
Re: Ticket #13544: Qt 5.14 : GUI displays a white rectangle. [ In reply to ]
#13544: Qt 5.14 : GUI displays a white rectangle.
---------------------------------------------+-----------------------------
Reporter: hamelg | Owner: (none)
Type: Bug Report - General | Status:
| infoneeded_new
Priority: minor | Milestone:
| needs_triage
Component: MythTV - User Interface Library | Version: v30-fixes
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
---------------------------------------------+-----------------------------

Comment (by warpme):

paul-h,
Good work with patch. I tested this on Qt5.14.1 on x86_64 and aarch64.
Works perfectly!

--
Ticket URL: <https://code.mythtv.org/trac/ticket/13544#comment:6>
MythTV <http://www.mythtv.org>
MythTV Media Center
Re: Ticket #13544: Qt 5.14 : GUI displays a white rectangle. [ In reply to ]
#13544: Qt 5.14 : GUI displays a white rectangle.
-------------------------------------+-------------------------------------
Reporter: hamelg | Owner: Paul Harrison
| <paul@…>
Type: Bug Report - General | Status: closed
Priority: minor | Milestone: needs_triage
Component: MythTV - User Interface | Version: v30-fixes
Library |
Severity: medium | Resolution: fixed
Keywords: | Ticket locked: 0
-------------------------------------+-------------------------------------
Changes (by Paul Harrison <paul@…>):

* owner: (none) => Paul Harrison <paul@…>
* status: infoneeded_new => closed
* resolution: => fixed


Comment:

In [changeset:"67ab1a79b7a7d795c51babc5f2c4e89b994574c0/mythtv"
67ab1a79b7/mythtv]:
{{{
#!CommitTicketReference repository="mythtv"
revision="67ab1a79b7a7d795c51babc5f2c4e89b994574c0"
mythuiwebbrowser: only create the browser window if the parent
is not the GlobalObjectStore

This fixes a bug when using Qt5.14 where an empty browser window sometimes
appears over the GUI. Fixes #13544
}}}

--
Ticket URL: <https://code.mythtv.org/trac/ticket/13544#comment:7>
MythTV <http://www.mythtv.org>
MythTV Media Center
Re: Ticket #13544: Qt 5.14 : GUI displays a white rectangle. [ In reply to ]
#13544: Qt 5.14 : GUI displays a white rectangle.
-------------------------------------+-------------------------------------
Reporter: hamelg | Owner: Paul Harrison
| <paul@…>
Type: Bug Report - General | Status: closed
Priority: minor | Milestone: needs_triage
Component: MythTV - User Interface | Version: v30-fixes
Library |
Severity: medium | Resolution: fixed
Keywords: | Ticket locked: 0
-------------------------------------+-------------------------------------

Comment (by Paul Harrison <paul@…>):

In [changeset:"1b4a7f62965b11779c7755ae8c8eebb21f405131/mythtv"
1b4a7f629/mythtv]:
{{{
#!CommitTicketReference repository="mythtv"
revision="1b4a7f62965b11779c7755ae8c8eebb21f405131"
mythuiwebbrowser: only create the browser window if the parent
is not the GlobalObjectStore

This fixes a bug when using Qt5.14 where an empty browser window sometimes
appears over the GUI. Fixes #13544

(cherry picked from commit 67ab1a79b7a7d795c51babc5f2c4e89b994574c0)
}}}

--
Ticket URL: <https://code.mythtv.org/trac/ticket/13544#comment:8>
MythTV <http://www.mythtv.org>
MythTV Media Center
Re: Ticket #13544: Qt 5.14 : GUI displays a white rectangle. [ In reply to ]
#13544: Qt 5.14 : GUI displays a white rectangle.
-------------------------------------+-------------------------------------
Reporter: hamelg | Owner: Paul Harrison
| <paul@…>
Type: Bug Report - General | Status: closed
Priority: minor | Milestone: needs_triage
Component: MythTV - User Interface | Version: v30-fixes
Library |
Severity: medium | Resolution: fixed
Keywords: | Ticket locked: 0
-------------------------------------+-------------------------------------

Comment (by Paul Harrison <paul@…>):

In [changeset:"a32dfc1497ca48f1444a2337ceb7c0e2e95f9ca3/mythtv"
a32dfc1497/mythtv]:
{{{
#!CommitTicketReference repository="mythtv"
revision="a32dfc1497ca48f1444a2337ceb7c0e2e95f9ca3"
mythuiwebbrowser: only create the browser window if the parent
is not the GlobalObjectStore

This fixes a bug when using Qt5.14 where an empty browser window sometimes
appears over the GUI. Fixes #13544

(cherry picked from commit 67ab1a79b7a7d795c51babc5f2c4e89b994574c0)
}}}

--
Ticket URL: <https://code.mythtv.org/trac/ticket/13544#comment:9>
MythTV <http://www.mythtv.org>
MythTV Media Center
Re: Ticket #13544: Qt 5.14 : GUI displays a white rectangle. [ In reply to ]
#13544: Qt 5.14 : GUI displays a white rectangle.
-------------------------------------+-------------------------------------
Reporter: hamelg | Owner: Paul Harrison
| <paul@…>
Type: Bug Report - General | Status: closed
Priority: minor | Milestone: needs_triage
Component: MythTV - User Interface | Version: v30-fixes
Library |
Severity: medium | Resolution: fixed
Keywords: | Ticket locked: 0
-------------------------------------+-------------------------------------

Comment (by Paul Harrison <paul@…>):

In [changeset:"1b4a7f62965b11779c7755ae8c8eebb21f405131/mythtv"
1b4a7f629/mythtv]:
{{{
#!CommitTicketReference repository="mythtv"
revision="1b4a7f62965b11779c7755ae8c8eebb21f405131"
mythuiwebbrowser: only create the browser window if the parent
is not the GlobalObjectStore

This fixes a bug when using Qt5.14 where an empty browser window sometimes
appears over the GUI. Fixes #13544

(cherry picked from commit 67ab1a79b7a7d795c51babc5f2c4e89b994574c0)
}}}

--
Ticket URL: <https://code.mythtv.org/trac/ticket/13544#comment:10>
MythTV <http://www.mythtv.org>
MythTV Media Center
Re: Ticket #13544: Qt 5.14 : GUI displays a white rectangle. [ In reply to ]
#13544: Qt 5.14 : GUI displays a white rectangle.
-------------------------------------+-------------------------------------
Reporter: hamelg | Owner: Paul Harrison
| <paul@…>
Type: Bug Report - General | Status: closed
Priority: minor | Milestone: needs_triage
Component: MythTV - User Interface | Version: v30-fixes
Library |
Severity: medium | Resolution: fixed
Keywords: | Ticket locked: 0
-------------------------------------+-------------------------------------

Comment (by Paul Harrison <paul@…>):

In [changeset:"67ab1a79b7a7d795c51babc5f2c4e89b994574c0/mythtv"
67ab1a79b7/mythtv]:
{{{
#!CommitTicketReference repository="mythtv"
revision="67ab1a79b7a7d795c51babc5f2c4e89b994574c0"
mythuiwebbrowser: only create the browser window if the parent
is not the GlobalObjectStore

This fixes a bug when using Qt5.14 where an empty browser window sometimes
appears over the GUI. Fixes #13544
}}}

--
Ticket URL: <https://code.mythtv.org/trac/ticket/13544#comment:11>
MythTV <http://www.mythtv.org>
MythTV Media Center
Re: Ticket #13544: Qt 5.14 : GUI displays a white rectangle. [ In reply to ]
#13544: Qt 5.14 : GUI displays a white rectangle.
-------------------------------------+-------------------------------------
Reporter: hamelg | Owner: Paul Harrison
| <paul@…>
Type: Bug Report - General | Status: closed
Priority: minor | Milestone: needs_triage
Component: MythTV - User Interface | Version: v30-fixes
Library |
Severity: medium | Resolution: fixed
Keywords: | Ticket locked: 0
-------------------------------------+-------------------------------------

Comment (by Paul Harrison <paul@…>):

In [changeset:"a32dfc1497ca48f1444a2337ceb7c0e2e95f9ca3/mythtv"
a32dfc1497/mythtv]:
{{{
#!CommitTicketReference repository="mythtv"
revision="a32dfc1497ca48f1444a2337ceb7c0e2e95f9ca3"
mythuiwebbrowser: only create the browser window if the parent
is not the GlobalObjectStore

This fixes a bug when using Qt5.14 where an empty browser window sometimes
appears over the GUI. Fixes #13544

(cherry picked from commit 67ab1a79b7a7d795c51babc5f2c4e89b994574c0)
}}}

--
Ticket URL: <https://code.mythtv.org/trac/ticket/13544#comment:12>
MythTV <http://www.mythtv.org>
MythTV Media Center
Re: Ticket #13544: Qt 5.14 : GUI displays a white rectangle. [ In reply to ]
#13544: Qt 5.14 : GUI displays a white rectangle.
-------------------------------------+-------------------------------------
Reporter: hamelg | Owner: Paul Harrison
| <paul@…>
Type: Bug Report - General | Status: closed
Priority: minor | Milestone: needs_triage
Component: MythTV - User Interface | Version: v30-fixes
Library |
Severity: medium | Resolution: fixed
Keywords: | Ticket locked: 0
-------------------------------------+-------------------------------------

Comment (by Paul Harrison <paul@…>):

In [changeset:"1b4a7f62965b11779c7755ae8c8eebb21f405131/mythtv"
1b4a7f629/mythtv]:
{{{
#!CommitTicketReference repository="mythtv"
revision="1b4a7f62965b11779c7755ae8c8eebb21f405131"
mythuiwebbrowser: only create the browser window if the parent
is not the GlobalObjectStore

This fixes a bug when using Qt5.14 where an empty browser window sometimes
appears over the GUI. Fixes #13544

(cherry picked from commit 67ab1a79b7a7d795c51babc5f2c4e89b994574c0)
}}}

--
Ticket URL: <https://code.mythtv.org/trac/ticket/13544#comment:13>
MythTV <http://www.mythtv.org>
MythTV Media Center
Re: Ticket #13544: Qt 5.14 : GUI displays a white rectangle. [ In reply to ]
#13544: Qt 5.14 : GUI displays a white rectangle.
-------------------------------------+-------------------------------------
Reporter: hamelg | Owner: Paul Harrison
| <paul@…>
Type: Bug Report - General | Status: closed
Priority: minor | Milestone: 31.0
Component: MythTV - User Interface | Version: v30-fixes
Library |
Severity: medium | Resolution: fixed
Keywords: | Ticket locked: 0
-------------------------------------+-------------------------------------
Changes (by Stuart Auchterlonie):

* milestone: needs_triage => 31.0


--
Ticket URL: <https://code.mythtv.org/trac/ticket/13544#comment:14>
MythTV <http://www.mythtv.org>
MythTV Media Center