Unreadablle UI display elements (Ubuntu)

All your suggestions, requests and ideas for future development
Post Reply
james.r.barker
Posts: 5
Joined: 27 Jul 2014, 16:52

Unreadablle UI display elements (Ubuntu)

Post by james.r.barker » 07 Jan 2019, 13:28

Hello,

I just installed Filebot 4.8.3 (and also tried 4.8.5) and found that some of the display elements are overlapping (lines of text, buttons, etc...).
And in the Format settings window, the text field is so skinny (not tall enough) that the text is completely hidden.
I also found that anytime an error pops up, it will be white-on-white which obscures the text.
https://snag.gy/9PYV6o.jpg and https://snag.gy/aId8YF.jpg

Has anyone else had similar problems?
J

Ubuntu 18.10
(Display resolution and scaling are at their default settings)

Code: Select all

filebot -script fn:sysinfo
FileBot 4.8.5 (r5996)
JNA Native: 5.2.2
MediaInfo: 18.05
7-Zip-JBinding: 9.20
Chromaprint: java.io.IOException: Cannot run program "/usr/share/filebot/lib/fpcalc": error=13, Permission denied
Extended Attributes: OK
Unicode Filesystem: OK
GVFS: PlatformGVFS [/run/user/1000/gvfs]
Script Bundle: 2018-11-29 (r539)
Groovy: 2.5.4
JRE: OpenJDK Runtime Environment 11.0.1
JVM: 64-bit OpenJDK 64-Bit Server VM
CPU/MEM: 4 Core / 3 GB Max Memory / 35 MB Used Memory
OS: Linux (amd64)
HW: Linux lappy 4.18.0-13-generic #14-Ubuntu SMP Wed Dec 5 09:04:24 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
DATA: /home/james/.filebot
Package: DEB
License: UNREGISTERED  <---- not true, I have purchased and imported the license key.

User avatar
rednoah
The Source
Posts: 14873
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Unreadablle UI display elements (Ubuntu)

Post by rednoah » 07 Jan 2019, 13:45

1.
You might find a few possible solutions by Googling, since I guess any Java Swing app will be similarly affected.


2.
What does filebot -script fn:sysenv say?


3.
Setting the GDK_SCALE env var before running FileBot might make a difference:

Code: Select all

export GDK_SCALE=2
filebot
:idea: Please read the FAQ and How to Request Help.

james.r.barker
Posts: 5
Joined: 27 Jul 2014, 16:52

Re: Unreadablle UI display elements (Ubuntu)

Post by james.r.barker » 08 Jan 2019, 23:09

1.
Checking around on Google

2.

Code: Select all

filebot -script fn:sysenv
# Environment Variables #
PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
XAUTHORITY: /run/user/1000/gdm/Xauthority
XMODIFIERS: @im=ibus
XDG_DATA_DIRS: /usr/share/ubuntu:/usr/local/share/:/usr/share/
GDMSESSION: ubuntu
MANDATORY_PATH: /usr/share/gconf/ubuntu.mandatory.path
GTK_IM_MODULE: ibus
DBUS_SESSION_BUS_ADDRESS: unix:path=/run/user/1000/bus
DEFAULTS_PATH: /usr/share/gconf/ubuntu.default.path
XDG_CURRENT_DESKTOP: ubuntu:GNOME
SSH_AGENT_PID: 6323
DESKTOP_AUTOSTART_ID: 104dbcbbd794c1bb80154687758713818800000061940007
COLORTERM: truecolor
QT4_IM_MODULE: xim
SESSION_MANAGER: local/lappy:@/tmp/.ICE-unix/6194,unix/lappy:/tmp/.ICE-unix/6194
USERNAME: james
LOGNAME: james
PWD: /home/james
IM_CONFIG_PHASE: 2
SHELL: /bin/bash
LESSOPEN: | /usr/bin/lesspipe %s
GNOME_DESKTOP_SESSION_ID: this-is-deprecated
GNOME_TERMINAL_SCREEN: /org/gnome/Terminal/screen/76606e52_ab40_4c5d_a58c_6836875b2d6d
GTK_MODULES: gail:atk-bridge
GDK_SCALE: 1
CLUTTER_IM_MODULE: xim
XDG_SESSION_DESKTOP: ubuntu
LS_COLORS: rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:
SHLVL: 1
LESSCLOSE: /usr/bin/lesspipe %s %s
QT_IM_MODULE: ibus
TERM: xterm-256color
XDG_CONFIG_DIRS: /etc/xdg/xdg-ubuntu:/etc/xdg
GNOME_TERMINAL_SERVICE: :1.89
LANG: en_US.UTF-8
XDG_SESSION_ID: 77
XDG_SESSION_TYPE: x11
DISPLAY: :0
_: /usr/bin/filebot
GPG_AGENT_INFO: /run/user/1000/gnupg/S.gpg-agent:0:1
DESKTOP_SESSION: ubuntu
USER: james
XDG_MENU_PREFIX: gnome-
VTE_VERSION: 5401
QT_ACCESSIBILITY: 1
WINDOWPATH: 2
SSH_AUTH_SOCK: /run/user/1000/keyring/ssh
XDG_SEAT: seat0
GNOME_SHELL_SESSION_MODE: ubuntu
XDG_VTNR: 2
XDG_RUNTIME_DIR: /run/user/1000
HOME: /home/james


# Java System Properties #
sun.desktop: gnome
awt.toolkit: sun.awt.X11.XToolkit
java.specification.version: 11
sun.cpu.isalist: 
sun.jnu.encoding: UTF-8
java.class.path: /usr/share/filebot/jar/filebot.jar
net.filebot.AcoustID.fpcalc: /usr/share/filebot/lib/fpcalc
java.vm.vendor: Oracle Corporation
grape.root: /home/james/.filebot/grape
useExtendedFileAttributes: true
sun.arch.data.model: 64
jna.library.path: /usr/share/filebot/lib
java.vendor.url: http://java.oracle.com/
user.timezone: 
jna.nounpack: true
os.name: Linux
java.vm.specification.version: 11
sun.net.client.defaultReadTimeout: 60000
jna.boot.library.path: /usr/share/filebot/lib
sun.java.launcher: SUN_STANDARD
user.country: US
sun.boot.library.path: /usr/lib/jvm/java-11-openjdk-amd64/lib
sun.java.command: /usr/share/filebot/jar/filebot.jar -script fn:sysenv
jdk.debug: release
useGVFS: true
sun.cpu.endian: little
user.home: /home/james
user.language: en
java.specification.vendor: Oracle Corporation
jdk.module.path: /usr/share/filebot/mod
java.version.date: 2018-10-16
java.home: /usr/lib/jvm/java-11-openjdk-amd64
file.separator: /
java.vm.compressedOopsMode: Zero based
line.separator: 

unixfs: false
useCreationDate: false
java.specification.name: Java Platform API Specification
java.vm.specification.vendor: Oracle Corporation
java.awt.graphicsenv: sun.awt.X11GraphicsEnvironment
application.cache: /home/james/.filebot/cache
net.filebot.UserFiles.fileChooser: JavaFX
http.agent: FileBot/4.8.5
sun.management.compiler: HotSpot 64-Bit Tiered Compilers
java.runtime.version: 11.0.1+13-Ubuntu-2ubuntu1
user.name: james
sun.net.client.defaultConnectTimeout: 10000
path.separator: :
java.net.useSystemProxies: true
os.version: 4.18.0-13-generic
jna.nosys: true
java.runtime.name: OpenJDK Runtime Environment
file.encoding: UTF-8
java.vm.name: OpenJDK 64-Bit Server VM
java.vendor.url.bug: http://bugreport.java.com/bugreport/
java.io.tmpdir: /home/james/.filebot/tmp
swing.crossplatformlaf: javax.swing.plaf.nimbus.NimbusLookAndFeel
java.version: 11.0.1
user.dir: /home/james
os.arch: amd64
java.vm.specification.name: Java Virtual Machine Specification
net.filebot.gio.GVFS: /run/user/1000/gvfs
java.awt.printerjob: sun.print.PSPrinterJob
sun.os.patch.level: unknown
application.deployment: deb
java.library.path: /usr/share/filebot/lib
java.vendor: Oracle Corporation
java.vm.info: mixed mode, sharing
java.vm.version: 11.0.1+13-Ubuntu-2ubuntu1
application.dir: /home/james/.filebot
sun.io.unicode.encoding: UnicodeLittle
org.apache.commons.logging.Log: org.apache.commons.logging.impl.NoOpLog
java.class.version: 55.0


# Arguments #
args[0] = -script
args[1] = fn:sysenv


Done ヾ(@⌒ー⌒@)ノ
3.
I used the command to change the scaling but it resulted in gargantuan :) UI elements/text.

User avatar
rednoah
The Source
Posts: 14873
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Unreadablle UI display elements (Ubuntu)

Post by rednoah » 09 Jan 2019, 08:29

james.r.barker wrote:
08 Jan 2019, 23:09
I used the command to change the scaling but it resulted in gargantuan :) UI elements/text.
Screenshots please~ :lol:


Maybe try 1 instead of 2 then? It's a long shot though!

Code: Select all

export GDK_SCALE=1

You can also force Nimbus LaF so you can work around any GTK 2/3 issues:

Code: Select all

export FILEBOT_OPTS=-Dswing.systemlaf=javax.swing.plaf.nimbus.NimbusLookAndFeel

Forcing a specific GTK version for Java Swing might also help. Not sure if it's using GTK2 or GTK3 by default on your machine, but whatever it is, maybe try the other one and see if that makes a difference.

Code: Select all

export FILEBOT_OPTS="-Djdk.gtk.verbose=true -Djdk.gtk.version=3"
:idea: Please read the FAQ and How to Request Help.

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests