Summary: | In file/save dialog, some files are jumped when browsed with the arrows keys | ||
---|---|---|---|
Product: | [Unmaintained] kdelibs | Reporter: | Nicolas Le Guen <goldenear> |
Component: | qt | Assignee: | Stephan Kulow <coolo> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | dherikb, jg, nickt |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Nicolas Le Guen
2006-06-14 16:48:08 UTC
I get the same with 3.5 branch r548320. I can't tell exactly what the problem is, but some notes: 1. The behaviour is asymmetric - a file may be skipped when pressing 'down', but not skipped when pressing 'up', etc. 2. It seems to have something to do with the relative lengths of the filenames. Specifically, I can get the behaviour with a directory containing files named: c d12345 e (where '12345' can be any five characters) but not with s/c/ca/ and s/e/ea/ (so now the middle file only has 4 more letters than the surrounding files). I see something similar happening in larger directories, but it's harder to tell exactly what is happening there. *** Bug 106734 has been marked as a duplicate of this bug. *** *** Bug 120609 has been marked as a duplicate of this bug. *** This behaviour also occurs in konqueror's multicolumn mode (see bug 120609) After more investigation, it seems this is a bug in QIconView. I don't really know the best way to deal with this issue. Here's a code snippet from a Qt app that shows the problem: QIconView *iv2 = new QIconView(); iv2->setArrangement(QIconView::TopToBottom); iv2->setResizeMode(QIconView::Adjust); iv2->setItemTextPos(QIconView::Right); new QIconViewItem(iv2, "a123456789123456"); new QIconViewItem(iv2, "b"); new QIconViewItem(iv2, "c2312334545667867345"); new QIconViewItem(iv2, "quz"); Perhaps we can ask Troll to take a look at it, if the bug is within Qt..? *** Bug 136276 has been marked as a duplicate of this bug. *** |