Bug 42676

Summary: Text selection broken in skype [SNA]
Product: xorg Reporter: Clemens Eisserer <linuxhippy>
Component: Driver/intelAssignee: Chris Wilson <chris>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium    
Version: git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
screenshot chat window
none
skype menu none

Description Clemens Eisserer 2011-11-07 11:11:19 UTC
Created attachment 53261 [details]
screenshot chat window

I am using the statically linked skype-2.2.0.35 binary, selecting text in the chat window characters results in garbled text rendering.
Also menu-entries which are renered selected result in garbled text.

I wasn't able to reproduce the issue with QT4 applications shipped, the version I see the issue is available here: http://www.skype.com/intl/de/get-skype/on-your-computer/linux/downloading.static

intel i945GM
intel-git
libdrm-2.4.27
pixman-0.23.8
linux-3.1.0
xorg 1.11.1
Comment 1 Clemens Eisserer 2011-11-07 11:12:47 UTC
Created attachment 53262 [details]
skype menu
Comment 2 Chris Wilson 2011-11-07 12:12:18 UTC
Having just found a very, very similar bug, I think this is going to be fixed by:

commit 8e775cecccebe543d344721d45b2d43ee9f122b3
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Mon Nov 7 20:01:33 2011 +0000

    sna/gen3: Fix false reduction of ComponentAlpha with white source
    
    The principle behind the opertator reduction of WHITE * maskca is valid,
    except that we failed to account for the src/mask transposition when
    emitting the vertices - garbage ensued.
    
    Given that we agressively reduce the shader required for WHITE * maskca,
    it does not seem worthwhile to special case the primitive emitter as
    well.
    
    Reported-by: Clemens Eisserer <linuxhippy@gmail.com>
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=42676
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Comment 3 Clemens Eisserer 2011-11-07 12:22:59 UTC
I can confirm the bug is fixed by your patch. Thanks!

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.