Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] Testing HDPI support with a HDPI monitor?

platform-swt-dev-bounces@xxxxxxxxxxx wrote on 30-05-2016 06:45:51 PM:

> From: Lars Vogel <lars.vogel@xxxxxxxxxxx>

> To: "Eclipse Platform SWT component developers list." <platform-swt-
> dev@xxxxxxxxxxx>

> Date: 30-05-16 06:46 PM
> Subject: Re: [platform-swt-dev] Testing HDPI support with a HDPI monitor?
> Sent by: platform-swt-dev-bounces@xxxxxxxxxxx
>
> Thanks Leo.
>
> I'm using a plain Ubuntu 16.04 (no KDE) and gsettings set
> org.gnome.desktop.interface scaling-factor 2 does not seem to do any
> difference.
>
> Is ./eclipse -Dswt.autoScale=2 supposed to work?
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=421383#c143 seems to
> indicate that this should work but maybe this is outdated.


Hi Lars,

This should indeed work but the scaling factor needs to be specified in terms of the zoom percentage you need viz. 100%, 200% etc. when using the value directly. BTW I hope you're using one of the latest builds?

Thanks,
Arun

>
> Best regards, Lars
>
> On Mon, May 30, 2016 at 3:10 PM, Leo Ufimtsev <lufimtse@xxxxxxxxxx> wrote:
> > Hello,
> >
> > Yes, you can run higher scaling without a big monitor, but everything will
> > be humongous.
> >
> > If on Gnome, try increasing scalability factor:
> > gsettings set org.gnome.desktop.interface scaling-factor 2
> >
> > (use 1 to return things back to normal).
> >
> > Remember to restart eclipse.
> >
> > If on KDE, try this article (I haven't tried this thou:)
> > http://hgdev.co/optimize-ubuntu-interface-scaling-on-hidpi-displays/
> >
> > Just as FYI:
> > At the moment some SWT jUnit test cases fail in SWT when scaling is turned
> > on (Something on my to-fix list).
> >
> > Let me know if you had any success.
> >
> > Thanks
> >
> > Leo
> >
> > On Mon, May 30, 2016 at 8:41 AM, Lars Vogel <lars.vogel@xxxxxxxxxxx> wrote:
> >>
> >> Hi,
> >>
> >> I do not have a HDPI monitor. Can I still test the new HDPI support?
> >>
> >> I tried specifying the scale factor on the command line but this does
> >> not make a difference.
> >>
> >> ./eclipse -Dswt.autoScale=10
> >>
> >> or ./eclipse -Dswt.autoScale=2
> >>
> >> result in the same L&L of IDE.
> >>
> >> Best regards, Lars
> >>
> >> --
> >> Eclipse Platform UI and e4 project co-lead
> >> CEO vogella GmbH
> >>
> >> Haindaalwisch 17a, 22395 Hamburg
> >> Amtsgericht Hamburg: HRB 127058
> >> Geschäftsführer: Lars Vogel, Jennifer Nerlich de Vogel
> >> USt-IdNr.: DE284122352
> >> Fax (040) 5247 6322, Email: lars.vogel@xxxxxxxxxxx, Web:
> >> http://www.vogella.com
> >> _______________________________________________
> >> platform-swt-dev mailing list
> >> platform-swt-dev@xxxxxxxxxxx
> >> To change your delivery options, retrieve your password, or unsubscribe
> >> from this list, visit
> >> https://dev.eclipse.org/mailman/listinfo/platform-swt-dev
> >
> >
> >
> >
> > --
> > Leo Ufimtsev | Software Engineer Intern @ Red Hat
> >
> > _______________________________________________
> > platform-swt-dev mailing list
> > platform-swt-dev@xxxxxxxxxxx
> > To change your delivery options, retrieve your password, or unsubscribe from
> > this list, visit
> > https://dev.eclipse.org/mailman/listinfo/platform-swt-dev
>
>
>
> --
> Eclipse Platform UI and e4 project co-lead
> CEO vogella GmbH
>
> Haindaalwisch 17a, 22395 Hamburg
> Amtsgericht Hamburg: HRB 127058
> Geschäftsführer: Lars Vogel, Jennifer Nerlich de Vogel
> USt-IdNr.: DE284122352
> Fax (040) 5247 6322, Email: lars.vogel@xxxxxxxxxxx, Web: http://
> www.vogella.com
> _______________________________________________
> platform-swt-dev mailing list
> platform-swt-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or
> unsubscribe from this list, visit
> https://dev.eclipse.org/mailman/listinfo/platform-swt-dev


Back to the top