Bug 16043 - pcmanfm-qt not show file name in thumbnail or icon view when fonts-otf-source-han is installed
Summary: pcmanfm-qt not show file name in thumbnail or icon view when fonts-otf-source...
Status: RESOLVED OLD
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 5
Hardware: All Linux
Priority: Normal minor
Target Milestone: ---
Assignee: Florian Hubold
QA Contact:
URL:
Whiteboard: only_in:MGA5
Keywords: IN_ERRATA5
Depends on:
Blocks:
 
Reported: 2015-05-27 03:52 CEST by You-Cheng Hsieh
Modified: 2018-02-07 18:45 CET (History)
4 users (show)

See Also:
Source RPM: pcmanfm-qt
CVE:
Status comment:


Attachments
screenshot of pcmanfm-qt in icon view (default) (190.54 KB, image/png)
2015-05-27 03:54 CEST, You-Cheng Hsieh
Details
output for reinstall pcmanfm-qt (17.51 KB, text/plain)
2015-05-27 07:48 CEST, You-Cheng Hsieh
Details

Description You-Cheng Hsieh 2015-05-27 03:52:47 CEST
Description of problem:
While starting pcmanfm-qt and browse files in thumbnail or icon view, file names are not shown below file or folder icon.

Version-Release number of selected component (if applicable):
pcmanfm-qt-0.9.0-1.mga5

How reproducible:
Only reproducible in thumbnail or icon view.

Steps to Reproduce:
1.Install pcmanfm-qt
2.Run pcmanfm-qt
3.Default view is icon mode, no file names are shown.


Reproducible: 

Steps to Reproduce:
Comment 1 You-Cheng Hsieh 2015-05-27 03:54:45 CEST
Created attachment 6645 [details]
screenshot of pcmanfm-qt in icon view (default)
Comment 2 Marja Van Waes 2015-05-27 06:37:30 CEST
CC'ing maintainer.

I can't reproduce it, but it is possible that my current /home/marja started as copy of one that has been used with pcmanfm-qt before.

@ You-Cheng Hsieh
Please try with a new user. Are the names of the directories and files missing for that new user, too?

Keywords: (none) => NEEDINFO
CC: (none) => doktor5000, marja11

Comment 3 You-Cheng Hsieh 2015-05-27 07:13:26 CEST
yes, it reproduced for new user.

I think it's the way I install lxqt:
1. install with dual-arch iso
2. add internet media.
3. click "unselect all" and check "individual package selection"
4. check "With X" and uncheck "install suggested packages"
5. find task-lxqt and select it.

So I have lxqt without suggested packages. That might be the cause of this bug. There might be package(s) that should be required by pcmanfm-qt but not written in spec.
Comment 4 Marja Van Waes 2015-05-27 07:23:07 CEST
I do not have lxqt installed.

When I installed pcmanfm-qt, all of the following was installed:

[root@DenkBlok2_cauldron marja]# urpmi pcmanfm-qt
To satisfy dependencies, the following packages are going to be installed:
  Package                        Version      Release       Arch    
(medium "Core Release (BlueHD1)")
  lib64fm-qt2                    0.9.0        1.mga5        x86_64  
  lib64fm4                       1.2.3        4.mga5        x86_64  
  lib64menu-cache3               1.0.0        5.mga5        x86_64  
  libfm                          1.2.3        4.mga5        x86_64  
  lxshortcut                     1.2.3        4.mga5        x86_64  
  menu-cache                     1.0.0        5.mga5        x86_64  
  pcmanfm-qt                     0.9.0        1.mga5        x86_64  
6.1MB of additional disk space will be used.
1.1MB of packages will be retrieved.
Proceed with the installation of the 7 packages? (Y/n) y

Do you have all of the above packages?
Comment 5 Marja Van Waes 2015-05-27 07:24:18 CEST
s/64// if you run 32 bit, of course
Comment 6 You-Cheng Hsieh 2015-05-27 07:48:30 CEST
Created attachment 6646 [details]
output for reinstall pcmanfm-qt

I removed pcmanfm-qt and try to reinstall it, the dependency list is pretty long with a lot of KDE stuff...
Comment 7 Marja Van Waes 2015-05-27 07:55:17 CEST
(In reply to You-Cheng Hsieh from comment #6)
> Created attachment 6646 [details]
> output for reinstall pcmanfm-qt
> 
> I removed pcmanfm-qt and try to reinstall it, the dependency list is pretty
> long with a lot of KDE stuff...

That might explain why I couldn't reproduce the problem, I have kde installed
Comment 8 You-Cheng Hsieh 2015-05-27 08:01:53 CEST
I thought without checking "install suggested packages", I still get minimal packages installed that should provide basic features, e.g. browsing files for a file manager. 

I'll try a minimal X installation, then urpmi pcmanfm-qt --no-recommends after boot into system.
Comment 9 Marja Van Waes 2015-05-27 08:24:37 CEST
(In reply to You-Cheng Hsieh from comment #8)
> I thought without checking "install suggested packages", I still get minimal
> packages installed that should provide basic features, e.g. browsing files
> for a file manager.

I don't really know more than what's here:
http://doc.mageia.org/installer/5/en/content/minimal-install.html (which is near to nothing)
However, I always assumed that to get basic features of a DE, it would be better to choose a light DE in this screen
http://doc.mageia.org/installer/5/en/content/choosePackageGroups.html

CC'ing tv, because he knows better than me :-)

> 
> I'll try a minimal X installation, then urpmi pcmanfm-qt --no-recommends
> after boot into system.

CC: (none) => thierry.vignaud

Comment 10 You-Cheng Hsieh 2015-05-27 08:30:05 CEST
Choose any DE in that screen will install recommends packages, which sometimes isn't not as light as it should be.

To be clarify here, if a package has bug while installed with --no-recommends, is it a bug?
Comment 11 Thierry Vignaud 2015-05-27 08:42:22 CEST
Yes. Then there're some recommends that should be requires.
We need to identify those though... 
On the other hand, pcman is part of lxde.
I don't know if we want to put work in making sure package foo from DE X works when only DE Y is installed.
Do you've lxde installed?
Comment 12 You-Cheng Hsieh 2015-05-27 09:35:06 CEST
Just in case you get confused:
pcmanfm is part of lxde, which I have no problem with.
pcmanfm-qt is part of lxqt, which I reported bug here.

yes, I tried with task-lxqt installed. (--no-recommends)
Comment 13 You-Cheng Hsieh 2015-05-27 11:30:10 CEST
Problem found: fonts-otf-source-han (!)
Remove this font package and install any other CJK font, e.g. fonts-ttf-chinese-opendesktop, will resolve this problem.

Can this be fixed in rpmstrate? Install fonts-ttf-chinese-opendesktop for LXQT when locale is zh_tw|zh_cn?

And when is source-han introduced as default font? fonts-ttf-chinese-opendesktop was default for zh_tw in mga4.
Comment 15 Rémi Verschelde 2015-05-27 14:01:53 CEST
(In reply to You-Cheng Hsieh from comment #14)
> And for ja ko
> 
> http://svnweb.mageia.org/packages/cauldron/meta-task/current/SOURCES/
> rpmsrate-raw?r1=659205&r2=660319

This seems to be a feature listed in the release notes:
"Chinese, Japanese, and Korean locales now use Source Han Sans as default font."
Comment 16 You-Cheng Hsieh 2015-05-27 14:27:28 CEST
It's not a feature. It's listed because I wrote it after I found the font today. Release note not only lists features, but also significant changes introduced that might affect user experience or cause unpredictable bugs.

Other than that, how do we deal with this bug? We're complete freeze now.
Comment 17 Thierry Vignaud 2015-05-27 19:18:24 CEST
Funda, the new default CJK font seems to cause issue with some apps.

CC: (none) => fundawang
Summary: pcmanfm-qt not show file name in thumbnail or icon view => pcmanfm-qt not show file name in thumbnail or icon view when fonts-otf-source-han is installed

Comment 18 You-Cheng Hsieh 2015-05-28 04:31:14 CEST
I should start to think about errata now in case Funda won't respond.

*If user's language is Chinese, Japanese, or Korean, and installs pcmanfm-qt or LXQT, pcmanfm-qt will not show file and folder names in thumbnails view and icon view because of the new default CJK font "Source Han". A workground is to install another font package that provides CJK characters, e.g. google-droid-sans-fonts, fonts-ttf-chinese-opendesktop, fonts-ttf-japanese(for Japanese only), or fonts-ttf-korean(for korean only). The package fonts-otf-source-han can be either kept or removed later.

Which section do you think this should be written under, LXQT or i18n? Note that pcmanfm-qt can be installed for other wm, e.g. icewm, openbox. I would put it in i18n.
Comment 19 Marja Van Waes 2015-05-28 09:59:01 CEST
(In reply to You-Cheng Hsieh from comment #18)
> I should start to think about errata now in case Funda won't respond.

I very much hope everything is well with him.

Please do add it to the errata, final isos will most probably be released soon, with no chance to get any fix on the iso, so even if it does get fixed, users who do not use online media during install will  be affected.

> 
> *If user's language is Chinese, Japanese, or Korean, and installs pcmanfm-qt
> or LXQT, pcmanfm-qt will not show file and folder names in thumbnails view
> and icon view because of the new default CJK font "Source Han". A workground
> is to install another font package that provides CJK characters, e.g.
> google-droid-sans-fonts, fonts-ttf-chinese-opendesktop,
> fonts-ttf-japanese(for Japanese only), or fonts-ttf-korean(for korean only).
> The package fonts-otf-source-han can be either kept or removed later.
> 
> Which section do you think this should be written under, LXQT or i18n? Note
> that pcmanfm-qt can be installed for other wm, e.g. icewm, openbox. I would
> put it in i18n.

i18n, but it would be fine to link to it from the LXQT section (e.g.: "For Chinese, Japanese and Korean installs, please read <link> too")

Keywords: NEEDINFO => (none)
Whiteboard: (none) => FOR_ERRATA

Comment 20 Florian Hubold 2015-05-29 01:02:07 CEST
(In reply to Thierry Vignaud from comment #17)
> Funda, the new default CJK font seems to cause issue with some apps.

I've no clue about CJK or if we have a new font for those locales, but I can adjust the recommends/requires or even conflicts of pcmanfm-qt as necessary.

Although I've specifically tested the minimal lxqt installation you described (on a really minimal installaton without X, installing task-lxqt-minimal using --no-recommends - should be the same as what the installer does), and it worked fine - but then I cannot use any of the affected locales in practice.


But which font package shall I require, or would it be safe to conflict with fonts-otf-source-han ?

Status: NEW => ASSIGNED
Assignee: bugsquad => doktor5000

Comment 21 You-Cheng Hsieh 2015-05-29 03:23:22 CEST
Could you make pcmanfm-qt requires google-droid-sans-fonts (this is the most small CJK font I'm aware of), and conflicts fonts-otf-source-han? 

However, if the specs dependency conflicts with rpmstrate, which will be prefered? In this case, rpmstrate ask zh|ja|ko to install fonts-otf-source-han, but what will happen if pcmanfm-qt conflicts with it?
Comment 22 You-Cheng Hsieh 2015-05-29 04:03:43 CEST
After second thought, this might not be a good idea. If conflicts set, user won't be able to install pcmanfm-qt and fonts-otf-source-han at the same time. Even though one can still fix the bug by install more CJK fonts or install droid fonts and set default font to it.
Florian Hubold 2015-06-01 21:41:57 CEST

Whiteboard: FOR_ERRATA => IN_ERRATA, MGA5TOO
Severity: normal => minor

Comment 23 You-Cheng Hsieh 2016-11-23 06:09:12 CET
This seems fixed in cauldron. Only affects mga5 now.
Comment 24 Marja Van Waes 2016-11-23 07:41:36 CET
(In reply to You-Cheng Hsieh from comment #23)
> This seems fixed in cauldron. Only affects mga5 now.

Changing this report accordingly

Keywords: (none) => IN_ERRATA5
Version: Cauldron => 5
Whiteboard: IN_ERRATA, MGA5TOO => (none)

Samuel Verschelde 2016-11-23 10:26:20 CET

Whiteboard: (none) => only_in:MGA5

Comment 25 Florian Hubold 2018-02-07 18:45:05 CET
As this is fixed in cauldron and mga6, closing this one as old as mga5 is EOL.

Resolution: (none) => OLD
Status: ASSIGNED => RESOLVED


Note You need to log in before you can comment on or make changes to this bug.