[FEATURE / BUG ] 4K support

All your suggestions, requests and ideas for future development
Post Reply
barnoqc
Posts: 2
Joined: 10 Jul 2016, 22:33

[FEATURE / BUG ] 4K support

Post by barnoqc »

Filebot is amazing.. But can you make it ''compatible'' with 4K resolution .....
its so tiny in my new laptop... its almost unusable.


https://snag.gy/A2mbt1.jpg


Thanks for your work !

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

Re: [FEATURE / BUG ] 4K support

Post by rednoah »

High-Resolution is only supported on Mac OS. You'll probably have to wait for Java 9 if you're on Windows.
:idea: Please read the FAQ and How to Request Help.
barnoqc
Posts: 2
Joined: 10 Jul 2016, 22:33

Re: [FEATURE / BUG ] 4K support

Post by barnoqc »

Thanks for the reply
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: [FEATURE / BUG ] 4K support

Post by rednoah »

If you're feeling adventurous, you could always try the latest Java 9 build:
https://jdk9.java.net/download/

JEP 263: HiDPI Graphics on Windows and Linux should already be in there.
:idea: Please read the FAQ and How to Request Help.
flotux
Posts: 4
Joined: 27 Jul 2016, 18:20

Re: [FEATURE / BUG ] 4K support

Post by flotux »

Hi,

I'd like to test your great application with the high dpi aware JRE 9 version. Is it sufficient to install the JRE 9 test version? Or do I have to compile it or set any JVM flags?

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

Re: [FEATURE / BUG ] 4K support

Post by rednoah »

I haven't tried this my myself, but it should work out of the box.
:idea: Please read the FAQ and How to Request Help.
flotux
Posts: 4
Joined: 27 Jul 2016, 18:20

Re: [FEATURE / BUG ] 4K support

Post by flotux »

When I use the JDK 9 Early Access Release Build 132 I get the following error message:

This application requires a Java Runtime Environment 1.8.0.
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: [FEATURE / BUG ] 4K support

Post by rednoah »

I guess launch4j needs to fix some Java 9 compatibility issues first as well. Or maybe it doesn't like EA releases when looking for the latest Java on your machine.

You don't need to use the exe launcher though. A javaw call with the appropriate options should work just fine.
:idea: Please read the FAQ and How to Request Help.
flotux
Posts: 4
Joined: 27 Jul 2016, 18:20

Re: [FEATURE / BUG ] 4K support

Post by flotux »

Do you have a hint for a newbie what "appropriate options" should be used and how to define the bat file for this call.

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

Re: [FEATURE / BUG ] 4K support

Post by rednoah »

The *.ini files contain all the options used by the *.exe launchers.

If you use the portable you'll find a standard cmdline call with portable default options in the filebot.cmd launcher. I'd use that for testing cause it uses the java command from the $PATH.
:idea: Please read the FAQ and How to Request Help.
fredit0
Posts: 1
Joined: 23 Nov 2016, 03:46

Re: [FEATURE / BUG ] 4K support

Post by fredit0 »

Using JAVA 9, scaling works flawless !
Thanks for the sugestion.
flotux
Posts: 4
Joined: 27 Jul 2016, 18:20

Re: [FEATURE / BUG ] 4K support

Post by flotux »

@fredit0:
Did you change any of the ini files to get the correct scaling or did it work out of the box by simpy installing the JRE9?
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: [FEATURE / BUG ] 4K support

Post by rednoah »

I'd like to see my own app in 4K please, cause it's weird that I'm not the first one. :lol:

Image
:idea: Please read the FAQ and How to Request Help.
Darok
Posts: 1
Joined: 30 Nov 2016, 10:20

Re: [FEATURE / BUG ] 4K support

Post by Darok »

Using JAVA 9 screenshot
Image
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: [FEATURE / BUG ] 4K support

Post by rednoah »

I see, you're calling java directly from the command-line by calling the java command. The exe launchers don't correctly detect Java 9 yet, so if you use the normal Windows install it won't work.


Note for anyone reading this thread:


If you want (experimental) High DPI support you need to install Java 9, download the FileBot portable package and then run filebot.cmd otherwise it won't work (and complain about Java 8 not being installed).
:idea: Please read the FAQ and How to Request Help.
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: [FEATURE / BUG ] 4K support

Post by rednoah »

The sun.java2d.dpiaware property may allow you to enable or disable DPI awareness, even with older Java versions:

Code: Select all

-Dsun.java2d.dpiaware=[true|false]
@see https://superuser.com/a/1007783/349721
:idea: Please read the FAQ and How to Request Help.
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: [FEATURE / BUG ] 4K support

Post by rednoah »

FileBot 4.7.19 is now available in the Microsoft Store and bundled with JDK 9 for proper HiDPI support on Windows 10.
:idea: Please read the FAQ and How to Request Help.
njf
Posts: 15
Joined: 29 Jun 2017, 23:04

Re: [FEATURE / BUG ] 4K support

Post by njf »

This is wonderful! I only just now spotted this post and checked my Filebot. Up to now, I have been having to use my old desktop whenever I wanted to use Filebot but I have just checked my 4K laptop and it looks great now. It must have been updated by the Store and I didn't notice. Am I right that Filebot is now v4.8.1.0 and Java is 10? There doesn't seem to an About menu option but the directory name includes that version number. The Java version is mentioned in the 'release' file in the jre directory. I am using W10 64bit.

Thanks!

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

Re: [FEATURE / BUG ] 4K support

Post by rednoah »

You can use the sysinfo script to have FileBot print all the version numbers. See FAQ for details.
:idea: Please read the FAQ and How to Request Help.
mervincm
Posts: 6
Joined: 02 Jun 2018, 17:10

Re: [FEATURE / BUG ] 4K support

Post by mervincm »

GUI objects seem OK, but the text is still TINY.

Code: Select all

FileBot 4.8.1 (r5375)
JNA Native: 5.2.0
MediaInfo: 18.03
7-Zip-JBinding: 9.20
Chromaprint: 1.4.2
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2018-03-16 (r516)
Groovy: 2.4.13
JRE: Java(TM) SE Runtime Environment 10
JVM: 64-bit Java HotSpot(TM) 64-Bit Server VM
CPU/MEM: 20 Core / 7 GB Max Memory / 263 MB Used Memory
OS: Windows 10 (amd64)
Package: APPX
Image
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: [FEATURE / BUG ] 4K support

Post by rednoah »

Are you using 200% Scale Factor?
:idea: Please read the FAQ and How to Request Help.
mervincm
Posts: 6
Joined: 02 Jun 2018, 17:10

Re: [FEATURE / BUG ] 4K support

Post by mervincm »

Yes I use significant display scaling, often 150-200%
PS I think you might have improved things since I left this, as looking at it compared to this shot, the icons appear bigger. Maybe MS changed something?
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: [FEATURE / BUG ] 4K support

Post by rednoah »

Newer versions of FileBot fully support display scaling, and it works especially well on 1x and 2x scaling factors (i.e. 100% and 200% though anything in between should work fine as well).
:idea: Please read the FAQ and How to Request Help.
Post Reply