Bug 387956 - File chooser dialog truncates file names in /usr
Summary: File chooser dialog truncates file names in /usr
Status: RESOLVED DUPLICATE of bug 352776
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.41.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: David Faure
URL:
Keywords: usability
: 387985 388078 389129 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-12-16 13:20 UTC by Matthew Trescott
Modified: 2018-05-13 20:46 UTC (History)
11 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Screenshot (89.63 KB, image/png)
2017-12-16 13:21 UTC, Matthew Trescott
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matthew Trescott 2017-12-16 13:20:37 UTC
Attempting to open a file in e.g. Okular, KWave, or Kate brings up a for chooser dialog. When navigating to /usr or /var, the file names become truncated when moving the mouse cursor over them. Dolphin is not affected, nor is the file chooser when using only folders under $HOME.
Comment 1 Matthew Trescott 2017-12-16 13:21:40 UTC
Created attachment 109408 [details]
Screenshot
Comment 2 Pawel 2017-12-17 08:45:33 UTC
I can confirm this bug. It appears on Qt 5.10 but not on Qt 5.9.x. Tested with KF5.40 and KF5.41.
Comment 3 Antonio Rojas 2017-12-17 10:27:06 UTC
*** Bug 387985 has been marked as a duplicate of this bug. ***
Comment 4 Nikola Schnelle 2017-12-17 20:39:49 UTC
This is probably duplicate of https://bugs.kde.org/show_bug.cgi?id=352776
Comment 5 Patrick Silva 2017-12-17 21:29:10 UTC
confirmed when sorting by size.

neon dev unstable, kde 5.9.3.
Comment 6 Patrick Silva 2017-12-17 21:35:20 UTC
(In reply to Dr. Chapatin from comment #5)
> confirmed when sorting by size.
> 
> neon dev unstable, kde 5.9.3.

sorry, I meant qt 5.9.3.
Comment 7 Lucjan 2017-12-18 15:17:32 UTC
I can confirm this bug. It appears on Qt 5.10 but not on Qt 5.9.x. Tested with KF5.40 and KF5.41.
Comment 8 Christoph Feck 2018-01-01 19:18:14 UTC
*** Bug 388078 has been marked as a duplicate of this bug. ***
Comment 9 Pawel 2018-01-02 11:20:40 UTC
Some other information:
1. This bug appears not only in KDE apps, but in "pure Qt 5.10", too. For example in QupZilla (2.2.3 but build from master git; commit #c2fbb1cb96, build on Qt 5.10). So it's rather upstream bug (in Qt), not in KDE.
2. It appears only with "not maximized" dialog window of open/save files etc. When this window starts as maximized - bug doesn't appears.
3. When we do something with not maximized window i.e. maximize it (names are not truncate, and next resize it to "normal" view - everything is ok - names are not truncates. We can change view from "short" to "detailed" and return to "short" and everything is ok, too.
Unfortunetly there is not any usefull info in konsole. Maybe only this: "QObject::connect: invalid null parameter" but I really do not know that it's related to this bug.
Comment 10 Christoph Feck 2018-01-02 14:12:13 UTC
Regarding 1. in comment #9: Every Qt application uses the KF5 file dialogs, if you have Plasma installed. Try running QupZilla with

XDG_CURRENT_DESKTOP=unix qupzilla
Comment 11 Pawel 2018-01-06 10:12:09 UTC
(In reply to Christoph Feck from comment #10)
> XDG_CURRENT_DESKTOP=unix qupzilla

With this one file/directory names aren't truncated but QupZilla works without "Plasma" changed colors and with dialog windows that looks like from Gtk+2.
Comment 12 Christoph Feck 2018-01-10 13:54:28 UTC
Sure. I was just showing you that the problem is indeed in KDE code, because with pure Qt code (which you can only get when disabling the Plasma integration), you do not see the issue.
Comment 13 Pawel 2018-01-11 13:25:27 UTC
(In reply to Christoph Feck from comment #12)
I've just tested on Lumina DE. It seems that this problem occours only in KDE's dialog windows (FluxBox is WM for Lumina DE).
Comment 15 Nate Graham 2018-01-12 17:51:57 UTC

*** This bug has been marked as a duplicate of bug 352776 ***
Comment 16 Pawel 2018-01-13 13:51:28 UTC
(In reply to Matthew Trescott from comment #14)
> Downstream has fixed this in the PKGBUILD script with this patch:
> https://cgit.kde.org/kio.git/patch/?id=248941a0
> 
Yes, and it seems, that it works! It's strange that I should applied this patch on kio 5.42rc1, too. Nevermind (yes, yes, yes... Nirvana :)).
Comment 17 Christoph Feck 2018-01-17 20:50:35 UTC
*** Bug 389129 has been marked as a duplicate of this bug. ***
Comment 18 Pawel 2018-01-18 08:24:33 UTC
I think, that we can mark this bug as resolved with KIO 5.42. So now, I don't see truncates file names no more.