[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: Bug#2729: konqi: icons text position is not constant
From:       Reginald Stadlbauer <reggie () troll ! no>
Date:       2000-02-22 23:17:29
[Download RAW message or body]

On Wed, 23 Feb 2000, David Faure wrote:
>On Wed, Feb 23, 2000 at 12:40:38AM +0100, Reginald Stadlbauer wrote:
>> On Tue, 22 Feb 2000, David Faure wrote:
>> >On Tue, Feb 22, 2000 at 05:09:17PM +0200, Claudiu Costin wrote:
>> >> Package: konqueror
>> >> Version: 17.02.2000
>> >> 
>> >> Text under icon is not the same for all file
>> >> icons.
>> >>  If filename is somehow long, but not wrap to
>> >> second line, then it is positioned little down
>> >> than for one with short filename.
>> >>   See the picture below:
>> >> 
>> >>        +-------------+      +-------------+
>> >>        |             |      |             |
>> >>        |             |      |             |
>> >>        |   T X T     |      |    T X T    |
>> >>        |             |      |             |
>> >>        |             |      |             |
>> >>        +-------------+      +-------------+
>> >> 
>> >>           readme.txt
>> >>                             long_readme.txt
>> >
>> >Indeed, I noticed that too.
>> >
>> >But although Reggie updated the QIconView (no idea he fixed
>> >that problem), we still need to port KDE apps to the new 
>> >icon view. We still use the old one. So we need to
>> >use the new one, before reporting any bug to him about this.
>> >
>> >Anyone knows what are the plans about this ?
>> >Should I start porting to the new icon view ?
>> 
>> As you probably have noticed I'm a bit short of time currently, else I'd have
>> already done it. It shouldn't be hard to port the stuff though. The most
>> dramatical changes were done in the DnD stuff
>
>... and I just worked on the Dnd with the old version :((
>
>Hopefully this ends now, with Qt 2.1.beta1 !

Yup, the API is frozen now :-)

>>  - but you can more or less copy
>> the stuff from the fileiconview example to konqy. Else there shouldn't be much
>> big changes needed.
>
>Ok. What about the bug mentionned above ? Is it already fixed ?

I don't know, I have never seen this bug myself. But this looks like bug in
QPainter::draw_formattet_text_or_whatever_it_is_called and not directly a bug
in QIconView, as the QPainter magic fucntion does the calculation and
linebreaking + drawing of QIconViewItem textes. If it still happens after
porting I'll have to look at that.

-- 
Reggie

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic