New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fonts sometimes render as black squares in applications launched from TorBrowser #1892

Open
andrewdavidwong opened this Issue Apr 6, 2016 · 5 comments

Comments

Projects
None yet
3 participants
@andrewdavidwong
Member

andrewdavidwong commented Apr 6, 2016

https://groups.google.com/d/topic/qubes-users/Yy6iX0-D7RI/discussion

More information: it seems to be limited to when the file explorer (dolphin) is started from within the privacy browser.

When I go to the same folder from a Dolphin that was started from the Qubes menu, the characters in the dialog display properly.

See: https://i.imgur.com/1ItY3jR.png

Yes, I've noticed this as well. It seems to affect at least a couple of different programs (Dolphin, Gwenview). The problem also goes away after restarting the VM.

@adrelanos

This comment has been minimized.

Show comment
Hide comment
@adrelanos

adrelanos Apr 9, 2016

Member

The application in question is not been developed by Whonix. The same one is being used in any Qubes template. Could be a missing dependency?

@marmarek any idea?

Member

adrelanos commented Apr 9, 2016

The application in question is not been developed by Whonix. The same one is being used in any Qubes template. Could be a missing dependency?

@marmarek any idea?

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Apr 9, 2016

Member

Since the same application does work when started from outside of Tor Browser, I would exclude missing dependency. Maybe some missing environment variable?

Member

marmarek commented Apr 9, 2016

Since the same application does work when started from outside of Tor Browser, I would exclude missing dependency. Maybe some missing environment variable?

@adrelanos

This comment has been minimized.

Show comment
Hide comment
@adrelanos

adrelanos Apr 11, 2016

Member

Marek Marczykowski-Górecki:

Since the same application does work when started from outside of Tor Browser, I would exclude missing dependency. Maybe some missing environment variable?


You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
#1892 (comment)

Just now verified. Tor Browser does not flush environment variables.

"sudo -u user" cleans environment variables, but kdiaglog does not seem
to have any issues with this.

I could reproduce this issue in a Qubes Debian TemplateBased AppVM,
using Tor Browser and Dolphin.

Member

adrelanos commented Apr 11, 2016

Marek Marczykowski-Górecki:

Since the same application does work when started from outside of Tor Browser, I would exclude missing dependency. Maybe some missing environment variable?


You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
#1892 (comment)

Just now verified. Tor Browser does not flush environment variables.

"sudo -u user" cleans environment variables, but kdiaglog does not seem
to have any issues with this.

I could reproduce this issue in a Qubes Debian TemplateBased AppVM,
using Tor Browser and Dolphin.

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Apr 11, 2016

Member

Ok, it looks to be the opposite problem: TorBrowser adds few additional environment variables which breaks kdialog:

FONTCONFIG_PATH=/home/user/tor-browser_en-US/Browser/TorBrowser/Data/fontconfig
LD_LIBRARY_PATH=/home/user/tor-browser_en-US/Browser/TorBrowser/Tor/

When added unset FONTCONFIG_PATH to /usr/lib/qubes/qvm-copy-to-vm.kde, it works. I would say it's TorBrowser bug.

Member

marmarek commented Apr 11, 2016

Ok, it looks to be the opposite problem: TorBrowser adds few additional environment variables which breaks kdialog:

FONTCONFIG_PATH=/home/user/tor-browser_en-US/Browser/TorBrowser/Data/fontconfig
LD_LIBRARY_PATH=/home/user/tor-browser_en-US/Browser/TorBrowser/Tor/

When added unset FONTCONFIG_PATH to /usr/lib/qubes/qvm-copy-to-vm.kde, it works. I would say it's TorBrowser bug.

@marmarek marmarek removed the C: Whonix label Apr 11, 2016

@marmarek marmarek changed the title from whonix-ws: fonts sometimes render as black squares to fonts sometimes render as black squares in applications launched from TorBrowser Apr 11, 2016

@adrelanos

This comment has been minimized.

Show comment
Hide comment
@adrelanos

adrelanos Apr 13, 2016

Member

Tor Browser breaks rendering of fonts in applications launched from Tor Browser:
https://trac.torproject.org/projects/tor/ticket/18813

Member

adrelanos commented Apr 13, 2016

Tor Browser breaks rendering of fonts in applications launched from Tor Browser:
https://trac.torproject.org/projects/tor/ticket/18813

@andrewdavidwong andrewdavidwong added this to the Far in the future milestone Dec 24, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment