{"action":"created","issue":{"url":"https://api.github.com/repos/lxde/lxqt/issues/874","labels_url":"https://api.github.com/repos/lxde/lxqt/issues/874/labels{/name}","comments_url":"https://api.github.com/repos/lxde/lxqt/issues/874/comments","events_url":"https://api.github.com/repos/lxde/lxqt/issues/874/events","html_url":"https://github.com/lxde/lxqt/issues/874","id":114844915,"number":874,"title":"[pcmanfm-qt] Regression : folders listed in descending order","user":{"login":"Esclapion","id":3512979,"avatar_url":"https://avatars.githubusercontent.com/u/3512979?v=3","gravatar_id":"","url":"https://api.github.com/users/Esclapion","html_url":"https://github.com/Esclapion","followers_url":"https://api.github.com/users/Esclapion/followers","following_url":"https://api.github.com/users/Esclapion/following{/other_user}","gists_url":"https://api.github.com/users/Esclapion/gists{/gist_id}","starred_url":"https://api.github.com/users/Esclapion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Esclapion/subscriptions","organizations_url":"https://api.github.com/users/Esclapion/orgs","repos_url":"https://api.github.com/users/Esclapion/repos","events_url":"https://api.github.com/users/Esclapion/events{/privacy}","received_events_url":"https://api.github.com/users/Esclapion/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/lxde/lxqt/labels/lxqt-session","name":"lxqt-session","color":"eb6420"},{"url":"https://api.github.com/repos/lxde/lxqt/labels/pcmanfm-qt","name":"pcmanfm-qt","color":"d4c5f9"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/lxde/lxqt/milestones/5","html_url":"https://github.com/lxde/lxqt/milestones/0.11","labels_url":"https://api.github.com/repos/lxde/lxqt/milestones/5/labels","id":1163697,"number":5,"title":"0.11","description":"","creator":{"login":"paulolieuthier","id":1238157,"avatar_url":"https://avatars.githubusercontent.com/u/1238157?v=3","gravatar_id":"","url":"https://api.github.com/users/paulolieuthier","html_url":"https://github.com/paulolieuthier","followers_url":"https://api.github.com/users/paulolieuthier/followers","following_url":"https://api.github.com/users/paulolieuthier/following{/other_user}","gists_url":"https://api.github.com/users/paulolieuthier/gists{/gist_id}","starred_url":"https://api.github.com/users/paulolieuthier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulolieuthier/subscriptions","organizations_url":"https://api.github.com/users/paulolieuthier/orgs","repos_url":"https://api.github.com/users/paulolieuthier/repos","events_url":"https://api.github.com/users/paulolieuthier/events{/privacy}","received_events_url":"https://api.github.com/users/paulolieuthier/received_events","type":"User","site_admin":false},"open_issues":54,"closed_issues":4,"state":"open","created_at":"2015-06-14T14:03:12Z","updated_at":"2015-11-12T07:41:05Z","due_on":null,"closed_at":null},"comments":52,"created_at":"2015-11-03T15:44:55Z","updated_at":"2015-11-13T17:16:50Z","closed_at":null,"body":"It's very annoying, limit blocking, because if I change manually for ascending order, it's not memorized and after reboot it's again descending order.\r\n\r\n![shot-2015-11-01_00-02-05](https://cloud.githubusercontent.com/assets/3512979/10912501/175987ae-824a-11e5-9582-5fb89abe5538.jpg)\r\n"},"comment":{"url":"https://api.github.com/repos/lxde/lxqt/issues/comments/156492050","html_url":"https://github.com/lxde/lxqt/issues/874#issuecomment-156492050","issue_url":"https://api.github.com/repos/lxde/lxqt/issues/874","id":156492050,"user":{"login":"pmattern","id":9860801,"avatar_url":"https://avatars.githubusercontent.com/u/9860801?v=3","gravatar_id":"","url":"https://api.github.com/users/pmattern","html_url":"https://github.com/pmattern","followers_url":"https://api.github.com/users/pmattern/followers","following_url":"https://api.github.com/users/pmattern/following{/other_user}","gists_url":"https://api.github.com/users/pmattern/gists{/gist_id}","starred_url":"https://api.github.com/users/pmattern/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmattern/subscriptions","organizations_url":"https://api.github.com/users/pmattern/orgs","repos_url":"https://api.github.com/users/pmattern/repos","events_url":"https://api.github.com/users/pmattern/events{/privacy}","received_events_url":"https://api.github.com/users/pmattern/received_events","type":"User","site_admin":false},"created_at":"2015-11-13T17:16:50Z","updated_at":"2015-11-13T17:16:50Z","body":"**ascending vs. descending order**\r\nProblem is *not* related to opening PCManFM-Qt windows as root as discussed above. It can also be seen when this feature was never used before in a particular user profile.\r\nThat aside my findings here aren't exactly telling right now: if PCManFM-Qt gets launched the first time on a new user profile in LXQt the order is descending (Z → A). If PCManFM-Qt gets launched the same way in an Openbox (\"only\") session the order is ascending. Both times it doesn't matter whether the session is launched from a virtual terminal by `startx` or by SDDM and any adjustment made e. g. by clicking the respective column's header in \"Detailed List\" view (right pane) persists beyond the actual session and even rebooting.\r\nAlso, the problem cannot be seen in a window that gets launched by gksu using su as backend via \"Open as Root\".\r\nAll this remains the same running the commit from lxde/lxqt-session#59. So I don't know what to think about all this.\r\n\r\n**folders and files owned by root in regular user's ~**\r\nI can confirm Escapions findings here. If a PCManFM-Qt window gets opened via \"Open as Toot\" by gksu using su as backend or lxsu settings will be stored in directory/file `default/settings.conf`, both owned by root, in `/home/<user launching LXQt session>/.config/pcmanfm-qt`.\r\nUsing branch `root_profile` the said folder is named `root` instead of `default` and `gksu` doesn't work any longer, all the rest is the same. The commit proposed in lxde/pcmanfm-qt/#259 seems to do the trick, though.\r\n\r\nOn a side not gksu using sudo as backend is working flawlessly (and stores all settings in `/root`) while lxsudo just throws\r\n![pcmanfm-qt_lxsudo-error-message](https://cloud.githubusercontent.com/assets/9860801/11152430/abf249ce-8a32-11e5-802f-cd329a6028ba.png)\r\nboth with PCManFM-Qt from latest master and lxde/pcmanfm-qt#259 / \r\n\r\nWhat I also wonder is whether there's something wrong with su because running `su -c juffed` settings get written to `~/.config/juff` of both root and regular user invoking `su`."}}