Bug 115431

Summary: Icons are misaligned in iconview because of long names
Product: [Applications] konqueror Reporter: Maxilys <maxilys>
Component: generalAssignee: Konqueror Bugs <konqueror-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version First Reported In: 3.4.2   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Maxilys 2005-10-31 17:22:49 UTC
Version:           3.4.2 (using KDE 3.4.3 Level "b" , SUSE 10.0 UNSUPPORTED)
Compiler:          Target: i586-suse-linux
OS:                Linux (i686) release 2.6.13-15-default

When a long name can't be cut because no Konqueror's word wrap rule applies, the name is cut to the defined width but the icons takes the room for 2 icons in width.

I haven't found any pattern to this bug. Depending on the size of the icons, long names are cut differently and the misalignment changes.

Real examples: "bacteriorhodosin.html" and "fakepanelsetup7wv.jpg"

16 px: bacteriorh(\\n)odosin.(\\n)html (1-icon wide)
32 px: bacteriorhodo(\\n)sin.html (2-icon wide) -> misalignment
48 px: bacteriorhodosin(\\n).html (1-icon wide)

16 px: fakepanel(\\n)setup7wv(\\n).jpg (1-icon wide)
32 px: fakepanelset(\\n)up7wv.jpg (1-icon wide)
48 px: fakepanelsetup7w(\\n)v.jpg (2-icon wide) -> misalignment

(No problem with 64 and 128 px icons.)

This isn't a problem of preview either. The names are cut the same way with or without preview and the same misalignment happens.
Comment 1 Tommi Tervo 2005-10-31 18:18:59 UTC

*** This bug has been marked as a duplicate of 113152 ***