Bug 18050 - [945GM DRI2]The XFCE window title bar shows incorrectly
Summary: [945GM DRI2]The XFCE window title bar shows incorrectly
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: git
Hardware: Other All
: high normal
Assignee: Eric Anholt
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 18858
  Show dependency treegraph
 
Reported: 2008-10-13 19:08 UTC by Li Peng
Modified: 2008-12-05 12:28 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
screenshot for XFCE terminal (64.69 KB, image/png)
2008-10-13 20:17 UTC, Li Peng
no flags Details
Catch solid fills to 1bpp targets (611 bytes, patch)
2008-12-03 12:05 UTC, Pierre Willenbrock
no flags Details | Splinter Review

Description Li Peng 2008-10-13 19:08:39 UTC
Hardware platform : eeePC

Code
===========================================================
git://anongit.freedesktop.org:/git/xorg/proto/dri2proto (master branch)
git://anongit.freedesktop.org:/git/mesa/drm (master)
git://anongit.freedesktop.org:/git/mesa/mesa (master)
git://anongit.freedesktop.org:/git/xorg/xserver (master with dri2 enabled)
git://anongit.freedesktop.org:/git/xorg/driver/xf86-video-intel (dri2 branch, disable tiling and enable UXA)

Reproduce Steps(steps,current result, reproduce possibility)
===========================================================
1. run startxfce4 
2. click to open a terminal
3. you will see the window title bar is messed up.

Expected result:
===========================================================
the title and buttons on title bar should be shown clearly
the buttons functions are easy to use by mouse click
the windows can be moved and activated via mouse operations on title bar.
Comment 1 Li Peng 2008-10-13 19:12:26 UTC
change to high priority
Comment 3 Li Peng 2008-10-13 20:17:48 UTC
Created attachment 19641 [details]
screenshot for XFCE terminal

you can see the messed window bar of this terminal
Comment 4 Gordon Jin 2008-10-14 00:14:20 UTC
Does this only happen with DRI2?
Comment 5 Li Peng 2008-10-14 00:23:10 UTC
(In reply to comment #4)
> Does this only happen with DRI2?
> 

Yes, I also tried EXA, which is fine.
Actually I suspect it is a UXA issue.
Comment 6 Pierre Willenbrock 2008-12-03 07:56:11 UTC
I am seeing the same with gkrellm and the "Demaximize"-button in the KDE B2 window border theme(the other buttons are unaffected).
Comment 7 Pierre Willenbrock 2008-12-03 12:05:13 UTC
Created attachment 20768 [details] [review]
Catch solid fills to 1bpp targets

This patch fixes my problems. Perhaps the original problem is fixed, too?
Comment 8 Eric Anholt 2008-12-05 12:28:49 UTC
Actually, it's anything <8bpp for solid and copy.  Huge thanks for tracking down this issue.

commit 2e3c098c5ed9a8451713dc754a5f086992249336
Author: Eric Anholt <eric@anholt.net>
Date:   Fri Dec 5 12:21:53 2008 -0800

    uxa: Reject solid/copy to under-8bpp destinations.
    
    EXA wouldn't create pixmaps for under-8bpp, but UXA does.  Fixes
    mis-rendering in xfwm, evolution message compose, firefox link
    drag'n'drop, and I'm sure more.  Big thanks to Pierre Willenbrock for
    debugging the issue!
    
    Bug #18050


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.