Bug#665700: [Pkg-xfce-devel] Bug#665700: thunar scrolls erratically when hover-selecting files

2012-03-25 Thread Ulrich Eckhardt
On Sunday 25 March 2012 14:05:28 Yves-Alexis Perez wrote:
> forwarded 665700 https://bugzilla.xfce.org/show_bug.cgi?id=8597
> thanks
> 
> On dim., 2012-03-25 at 11:40 +0200, Ulrich Eckhardt wrote:
> > Package: thunar
> > Version: 1.2.3-3
> > 
> > There are two observations which are related, I guess. I'm using the
> > detailed list view (Control-2). The columns displayed are "Name", "Date
> > Modified", "Size". I have checked "Automatically expand columns as
> > needed" in the configuration.
> > 
> > 
> > Case I: Here, the size of the "Name" column is less than the width of the
> > window, but the other two columns exceed the width (just wondering,
> > doesn't that already contradict the settings?),
> 
> Exactly the opposite, if you read the help text. That means the columns
> are expanded so the text is visible. So yes, that might means
> overflowing the window.

Yes, that's the fault in my expectations. I was expecting it to automatically 
resize the columns but within the limits set by the window. As a programmer, I 
guess that this would be very hard to program in a way that it works correctly 
under all corner cases.


> > Further notes:
> >  - I'm not sure if the auto-expand code behaves correctly when there
> >  simply isn't enough space.
> 
> Why?

Wrong expectations, see above.

> >  - I'm not sure if the auto-expand code works at all. I have seen it
> >  change layout sometimes, but I couldn't find a rule to it.
> 
> That's pretty not clear at all. Care to explain?

Wrong expectations, I was assuming that Thunar auto-adjusted when resizing the 
window, but as you said it only adjusts to the required size of the columns.


Thanks for the quick feedback!

Uli



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#665700: [Pkg-xfce-devel] Bug#665700: thunar scrolls erratically when hover-selecting files

2012-03-25 Thread Yves-Alexis Perez
forwarded 665700 https://bugzilla.xfce.org/show_bug.cgi?id=8597
thanks

On dim., 2012-03-25 at 11:40 +0200, Ulrich Eckhardt wrote:
> Package: thunar
> Version: 1.2.3-3
> 
> There are two observations which are related, I guess. I'm using the detailed 
> list view (Control-2). The columns displayed are "Name", "Date Modified", 
> "Size". I have checked "Automatically expand columns as needed" in the 
> configuration.

> 
> Case I: Here, the size of the "Name" column is less than the width of the 
> window, but the other two columns exceed the width (just wondering, doesn't 
> that already contradict the settings?),

Exactly the opposite, if you read the help text. That means the columns
are expanded so the text is visible. So yes, that might means
overflowing the window.

>  so that a scroll bar is visible at the 
> bottom. When I scroll right, and hover-select a file (different or same as 
> before), the scrollbar is reset to the leftmost position.

Yep, same here.
> 
> 
> Case II: Here, the size of the "Name" column already exceeds the width of the 
> window. If I change the selected file by hovering the mouse over it, the 
> position is scrolled horizontally, alternating between the leftmost and a 
> middle position. The middle position is so that the rightmost part of the 
> "Name" column is aligned to the right border of the window.

Yes, something like.
> 
> How Thunar should behave: It shouldn't scroll horizontally at all. If I look 
> at a column and select files there, it shouldn't scroll away from the column.

I don't have any opinion on this :)
> 
> Further notes:
>  - I'm not sure if the auto-expand code behaves correctly when there simply 
> isn't enough space.

Why?

>  - I'm not sure if the auto-expand code works at all. I have seen it change 
> layout sometimes, but I couldn't find a rule to it.

That's pretty not clear at all. Care to explain?

>  - I'm using Fluxbox as window manager, in case that matters (parenting, 
> resize notifications...).

I don't think so, it looks completely Thunar-internal.

Regards,
-- 
Yves-Alexis


signature.asc
Description: This is a digitally signed message part