[mythtv-commits] Ticket #12484: Workaround for Qt5 <shape> drawing behavior change
MythTV
noreply at mythtv.org
Tue Aug 4 06:32:59 UTC 2015
#12484: Workaround for Qt5 <shape> drawing behavior change
-------------------------------------------------+-------------------------
Reporter: stichnot | Owner: stuartm
Type: Patch - Bug Fix | Status: new
Priority: minor | Milestone: 0.28
Component: MythTV - User Interface Library | Version: Master Head
Severity: medium | Keywords:
Ticket locked: 0 |
-------------------------------------------------+-------------------------
With Qt5, a <shape> element that lacks an explicit <line> element is drawn
differently than with Qt4 - a 1-pixel invisible border is "stolen" from
the shape's exterior. This can be very noticeable with small shapes, such
as cutlist editor cursor marks, or precisely aligned shapes, such as a
background drawn behind subtitles.
This patch changes the default <shape> behavior when no <line> is
specified - the line is set to the shape's fill color with a width of 0.
[stuartm: please have a look at this, thanks!]
--
Ticket URL: <https://code.mythtv.org/trac/ticket/12484>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list