[mythtv-commits] Ticket #13483: Wayland in Fedora 31 does not allow focus grabbing from the compositer

MythTV noreply at mythtv.org
Mon Aug 3 10:02:15 UTC 2020


#13483: Wayland in Fedora 31 does not allow focus grabbing from the compositer
----------------------------------+------------------------------
 Reporter:  hobbes1069            |          Owner:  Mark Kendall
     Type:  Bug Report - General  |         Status:  closed
 Priority:  major                 |      Milestone:  31.1
Component:  MythTV - General      |        Version:  v30-fixes
 Severity:  medium                |     Resolution:  fixed
 Keywords:                        |  Ticket locked:  0
----------------------------------+------------------------------
Changes (by Mark Kendall <mark.kendall@…>):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"e537ea801af3a1d69c6fd0dbf8060ff22ba34cf2/mythtv"
 e537ea801/mythtv]:
             {{{
             #!CommitTicketReference repository="mythtv"
 revision="e537ea801af3a1d69c6fd0dbf8060ff22ba34cf2"
             Wayland: Fix alpha blending

 - each window in wayland has its own buffer/texture and these are always
 composited with alpha blending
 - as a result any alpha blended areas of our UI will allow the
 underlying window to be visible if the window/surface buffer has a
 buffer with alpha
 - usually the default surface format does not request a buffer with
 alpha but when wayland decorations are enabled, Qt overrides the alpha
 depth
 - so as a workaround, disable Qt wayland decorations, which we don't
 need anyway
 - note - this may not be the best solution. Using
 wl_surface_set_opaque_region on our surface would allow the compositor
 to optimise rendering as it knows it does not need to show anything
 hidden by the window. In testing this works but requires linking to
 libwayland-client and including Qt private headers (which is far from
 ideal)

 - Fixes #13483

 (cherry picked from commit b6e7e18a4c209a0dd246c4624db918af0d5152ff)
             }}}

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


More information about the mythtv-commits mailing list