Firefox Titlebar Not Correct Unless Run From Command Line [SOLVED]

Please post your problem description here

Moderator: Barb@Invincea

Post Reply
eneerge
Posts: 17
Joined: Tue Jul 21, 2015 4:57 pm
Location: Oxford, MS
Contact:

Firefox Titlebar Not Correct Unless Run From Command Line [SOLVED]

Post by eneerge » Mon Jul 10, 2017 12:19 am

When I attempt to run Firefox by clicking on it in the "C:\Sandbox\User\Sandbox\..." folder, the background of the titlebar/tab area is grey instead of the normal blue. If I attempt to start Firefox by using "Start.exe", I also see a grey background instead of blue.

However, if I start a command line inside of the sandbox, then navigate to the Firefox folder and launch it from there, the titlebar is the correct color. It must be the first window that is launched. If a window is launched that has the grey window, then even if I launch it from cmd, it will be grey. If, however, the first firefox window is launched from cmd, then it will be blue. Any idea how to make it always be blue?

Here's screenshots of both windows: https://imgur.com/a/XiNFa

Barb@Invincea
Sandboxie Support
Sandboxie Support
Posts: 2337
Joined: Mon Nov 07, 2016 3:10 pm

Re: Firefox Titlebar Not Correct Unless Run From Command Line

Post by Barb@Invincea » Mon Jul 10, 2017 11:48 am

Hello energee,

Please have a look at this thread:
viewtopic.php?f=11&t=22331#p117199

Sometimes changing the theme fixes the issue.

Regards,
Barb.-

eneerge
Posts: 17
Joined: Tue Jul 21, 2015 4:57 pm
Location: Oxford, MS
Contact:

Re: Firefox Titlebar Not Correct Unless Run From Command Line

Post by eneerge » Wed Jul 12, 2017 9:28 pm

Here's an alternative solution.

I created a "Start Firefox.cmd" batch file with the following code:

Code: Select all

cd /
cd "program files"
cd "mozilla firefox"
start firefox.exe
For whatever reason, just specifying the full path\firefox.exe did NOT work. Could probably rewrite to use only one cd command, though.

Now I've updated my shortcuts to the following target:

Code: Select all

"C:\Program Files\Sandboxie\Start.exe" /box:Firefox cmd /c ""path\to\start firefox.cmd""
Also, make sure to blank out the "Start in" path.

Barb@Invincea
Sandboxie Support
Sandboxie Support
Posts: 2337
Joined: Mon Nov 07, 2016 3:10 pm

Re: Firefox Titlebar Not Correct Unless Run From Command Line

Post by Barb@Invincea » Thu Jul 13, 2017 2:44 pm

Hi eneerge ,

Thanks for the update.
I will mark this thread resolved, so if anybody has the same issue they can try your steps.

Regards,
Barb.-

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest