discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: slowness while dragging icons in gworkspace


From: Eric Wasylishen
Subject: Re: slowness while dragging icons in gworkspace
Date: Wed, 25 Jan 2012 11:27:37 -0700

Hi Riccardo,

On 2012-01-25, at 1:35 AM, Riccardo Mottola wrote:

> Hi,
> 
> On 01/24/2012 07:03 PM, Eric Wasylishen wrote:
>> Hi Riccardo,
>> That doesn't sound good.
>> 
>> The changes I made in GWorkspace should not have caused that; they should 
>> only affect the selection rectangle, which is now drawn with a transparent 
>> background (which has its own pitfalls; it only works well with cairo, and 
>> is a bit slower than I would like.)
> I'm puzzled too. ON the same setup, transparent background selection draws 
> reasonably fast, even on an exported display!
> However, while testing yesterday our various setups before release, I noticed 
> that with xlib it is terribly slow and draws only a big black box. I don't 
> know if I want to revert your patch or if there is a way to make the 
> behaviour optional.
> I did not try art and win32 yet.

I tried art, and it flickers badly when making selections with my transparent 
selection patch.

It's fine with me if you revert it, but it would be nice if we could re-apply 
it later. (maybe a future patch could use NSHighlightRect if GSUseGhostResize 
is YES.)

> 
>> As I can't reproduce the slowness when dragging I'll need you to help 
>> isolate the change that introduced this.
> At home I couldn't reproduce it either. I have the following setup
> 
> 1) netbook --> super-fast windows computer with Xming
> 2) netbook --> older freebsd workstation
> 
> setup 1) is very fast and I use it at work. Evertything is fast... except 
> this icon drawing
> setup 2) is generally slower, but icon dragging works smooth, I only see the 
> "transparent" shadow. It is not very fast, but it does not "flickr".
> 
> I can add that the trail is white, it is only the "countour" of the icon 
> (probably everything which does not have alpha=1) and for example dragging 
> the folder icon is slower than a standard square icon. It is not the shadow, 
> it is really the "old" place of the icon that needs some time to redraw over 
> the background.
> "Background" here means any gnustep view: I drag the icon around, it flickers 
> over the desktop (if gworkspace has a desktop) and over gnustep windows. If I 
> drag it over any other window (like thunderbird while writing this email) 
> there is no trail. If I disable the desktop and drag an icon around, there is 
> no bug.
> 

Are you only seeing this bug with Xming? In that case, it could be a bug in 
Xming.

> Riccardo
> 
> _______________________________________________
> Discuss-gnustep mailing list
> Discuss-gnustep@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnustep




reply via email to

[Prev in Thread] Current Thread [Next in Thread]