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

List:       kde-devel
Subject:    Re: Strange hangs with KDE 1.1 (KPanel)
From:       Harri Porten <porten () tu-harburg ! de>
Date:       1999-07-25 15:33:23
[Download RAW message or body]

Daniel Naber wrote:
> 
> On Sat, 24 Jul 1999, Johannes Mueller wrote:
> 
> > On my system (P100 80mb SuSE Linux 6.1, Kernel 2.2.5 XFree86 3.3.3)
> > it always occurs when I click an Icon on the desktop of which the letters of
> > the name are "near" (1-3 pixels) to the edge of the panel or several letters
> 
> Okay, it seems the problem is in kfm/root.cpp (~ line 1516):
> 
>         p2.drawText( textXOffset, textYOffset, file );
> 
> file is a QString and I wonder why this works at all? In the API
> documentation (Qt 1.44) I can only see drawText methods taking const
> char*. Anyway, if you never execute the line above, which is the
> if-case, but instead the else-case, everthing seems to work. This is
> the same  as de-activating the transparent background for the iconsī
> text. I added +1 to textXOffset and the iconsī text was smashed up.
> I.e. I donīt understand whatīs going on here and therefore cannot fix
> it.

Can you try to further debug this ? I can't reproduce the problem.
Consider attaching gdb to kfm via "gdb kfm {pid of kfm}" and provide us
with the backtrace. Or use "strace -o /tmp/strace.txt -p {pid}" to trace
the system calls.

Thanks,

Harri.

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

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