| Summary: | gnome-session: the special directorys(Documents Music Pictures) don't change the language after change the system language. | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | xiaoli feng <xifeng> |
| Component: | gnome-shell-extensions | Assignee: | Florian Müllner <fmuellner> |
| Status: | CLOSED WONTFIX | QA Contact: | Desktop QE <desktop-qa-list> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 7.4 | CC: | csoriano, debarshir, dking, fmuellner, mclasen, otaylor, rstrode, xifeng, xzhou |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-01-15 07:28:27 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
xiaoli feng
2016-11-09 10:47:30 UTC
what's the output of ls -ld ~/* ? (In reply to Ray Strode [halfline] from comment #2) > what's the output of > > ls -ld ~/* > > ? It only shows the new language name. It seems don't update the "Places" window. i think this is probably a gnome-shell-extensions bug, but it might be a problem lower in the stack. We'll start there anyway. Can you post the output of $ cat ~/.config/gtk-3.0/bookmarks and the output of $ cat ~/.gtk-bookmarks ? I can reproduce the issue, but I doubt it's an easy fix: - special dirs are loaded for places menu - bookmarks are loaded for places menu (and de-duplicated with special dirs) - directory names are updated - bookmarks are reloaded (and de-duplication with special dirs no longer works because the files are now different) Note that special directories are cached by glib, so reloading those wouldn't have any effect unless we change glib first. So the only option I can think of right now is to rely on special dirs also appearing in bookmarks, which sounds fragile. Another option could be to offer to rename folders after changing the language instead of after the next login, so the change is picked up properly with one session restart instead of two. (I'll also add that nautilus has exactly the same problem - until it is restarted, entries will be duplicated in the sidebar) what about g_reload_user_special_dirs_cache ? (In reply to Ray Strode [halfline] from comment #6) > what about g_reload_user_special_dirs_cache ? Mmh, yeah - I guess installing a file monitor for each special dir and queuing a reload on changes would work (in the extension, nautilus and gtk+ - forgot about the file chooser previously). Not sure the benefit justifies the additional resource usage, though I guess we can cut that down a bit by assuming that some bookmark will be effected by the change and thus monitoring the bookmarks file is sufficient ... (In reply to Ray Strode [halfline] from comment #4) > i think this is probably a gnome-shell-extensions bug, but it might be a > problem lower in the stack. We'll start there anyway. > > Can you post the output of > > $ cat ~/.config/gtk-3.0/bookmarks > > and the output of > > $ cat ~/.gtk-bookmarks > > ? Sorry for late. [fengxiaoli@dhcp-13-153 ~]$ cat ~/.config/gtk-3.0/bookmarks file:///home/fengxiaoli/%E6%96%87%E6%A1%A3 file:///home/fengxiaoli/%E9%9F%B3%E4%B9%90 file:///home/fengxiaoli/%E5%9B%BE%E7%89%87 file:///home/fengxiaoli/%E8%A7%86%E9%A2%91 file:///home/fengxiaoli/%E4%B8%8B%E8%BD%BD There is no ~/.gtk-bookmarks file. After evaluating this issue, there are no plans to address it further or fix it in an upcoming release. Therefore, it is being closed. If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened. |