You are not logged in.

#1 2017-08-04 09:03:00

ugjka
Member
From: Latvia
Registered: 2014-04-01
Posts: 1,909
Website

[Solved] Qupzilla's file selector can't open folders that contain ....

Hi, I hit a problem with qupzilla when I tried to upload files to some websites.

The file selector that qupzilla uses (Dolphin?) won't let me open directories that have accented symbols like "Mūzika" or "Attēli" in their name.

This is the error message: https://img.ugjka.net/TfSoG2Ox.png

First I thought this was a global problem and tried other qt apps but other apps are not affected, dolphin itself also works fine. So I think something is funky with qupzilla

So I ran strace and it is obvious that qupzilla somehow doesn't decode utf-8 chars, they are replaced with "?"

stat("/home/ugjka/Att?li", 0x7ffd661ae230) = -1 ENOENT (No such file or directory)
stat("/home/ugjka/M?zika", 0x7ffd661ad610) = -1 ENOENT (No such file or directory)
stat("/home/ugjka/Lejupiel?des", 0x7ffd661ad610) = -1 ENOENT (No such file or directory)
stat("/home/ugjka/Calibre bibliot?ka", 0x7ffd661ad610) = -1 ENOENT (No such file or directory)

Full strace: https://bpaste.net/show/eff25f56fcb2

Locale

[ugjka@ArchT tmp]$ localectl 
   System Locale: LANG=en_GB.UTF-8
                  LC_NUMERIC=lv_LV.UTF-8
                  LC_TIME=lv_LV.UTF-8
                  LC_COLLATE=lv_LV.UTF-8
                  LC_MONETARY=lv_LV.UTF-8
                  LC_PAPER=lv_LV.UTF-8
                  LC_NAME=lv_LV.UTF-8
                  LC_ADDRESS=lv_LV.UTF-8
                  LC_TELEPHONE=lv_LV.UTF-8
                  LC_MEASUREMENT=lv_LV.UTF-8
                  LC_IDENTIFICATION=lv_LV.UTF-8
       VC Keymap: dvorak
      X11 Layout: us,lv,lv,ru
     X11 Variant: dvorak,minuskeydvorak,apostrophe,phonetic
     X11 Options: grp:alt_shift_toggle

Anyone can shed some light on the issue? Thanks! smile

Last edited by ugjka (2017-08-04 10:28:09)

Offline

#2 2017-08-04 10:05:02

ugjka
Member
From: Latvia
Registered: 2014-04-01
Posts: 1,909
Website

Re: [Solved] Qupzilla's file selector can't open folders that contain ....

Ok for some reason LC_MESSAGES= and LC_CTYPE= was somehow unset in my env output, now I have set them in my locale.conf and rebooted and everything is fine now

Weird

Last edited by ugjka (2017-08-04 10:08:24)

Offline

#3 2017-08-04 10:22:16

ugjka
Member
From: Latvia
Registered: 2014-04-01
Posts: 1,909
Website

Re: [Solved] Qupzilla's file selector can't open folders that contain ....

Offline

Board footer

Powered by FluxBB