[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #27903 [Applications/Tor Browser]: Tor Browser 8 does not respect gtk3 settings



#27903: Tor Browser 8 does not respect gtk3 settings
--------------------------------------------+--------------------------
 Reporter:  gk                              |          Owner:  tbb-team
     Type:  defect                          |         Status:  new
 Priority:  Medium                          |      Milestone:
Component:  Applications/Tor Browser        |        Version:
 Severity:  Normal                          |     Resolution:
 Keywords:  tbb-8.0-issues, tbb-regression  |  Actual Points:
Parent ID:                                  |         Points:
 Reviewer:                                  |        Sponsor:
--------------------------------------------+--------------------------

Comment (by donnm):

 TBB 8 also clobbers gtk file chooser settings for other gtk programs
 (reported in #28428). For example, whether the file chooser or Nautilus
 sorts folders before files.

 1. Running:


 {{{
 $ gsettings set org.gtk.Settings.FileChooser sort-directories-first true
 $ gsettings get org.gtk.Settings.FileChooser sort-directories-first
 true
 }}}


 2. Then in TBB 8, CTRL-O or CTRL-S to open file chooser. Close it without
 doing anything.

 3. Again running:


 {{{
 $ gsettings get org.gtk.Settings.FileChooser sort-directories-first
 false
 }}}


 The issue I describe here is more related to #28428, which I would argue
 is not a duplicate of this report (#27903) because the latter deals with
 TBB 8 not respecting gtk settings, while #28428 deals with TBB 8 actively
 clobbering gtk settings.

 I created a hack workaround that just tries to maintain my preference:

 fix-filechooser.sh
 {{{
 #!/bin/sh

 while true; do
     VAL=$(DISPLAY=:0 gsettings get org.gtk.Settings.FileChooser sort-
 directories-first)

     if [ $VAL == "false" ]; then
         echo "Fixing file chooser settings."
         DISPLAY=:0 gsettings set org.gtk.Settings.FileChooser sort-
 directories-first true
     fi
     sleep 1
 done
 }}}

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/27903#comment:3>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs