After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 725263 - HiDPI support for gtk3-port (Linux and Mac OS X)
HiDPI support for gtk3-port (Linux and Mac OS X)
Status: RESOLVED OBSOLETE
Product: GIMP
Classification: Other
Component: User Interface
unspecified
Other All
: Normal enhancement
: 3.0
Assigned To: GIMP Bugs
GIMP Bugs
: 791768 (view as bug list)
Depends on: 725465
Blocks:
 
 
Reported: 2014-02-26 19:39 UTC by Brion Vibber
Modified: 2018-05-24 14:20 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Screenshot of the GIMP UI on a QHD display (1.33 MB, image/jpeg)
2014-07-29 12:37 UTC, Matei Tene
Details
screenshot_missing_icons (124.30 KB, image/png)
2017-04-22 16:19 UTC, Sergii
Details

Description Brion Vibber 2014-02-26 19:39:40 UTC
Some newer laptops are coming out with 2560x1440 or higher displays which need a 2x scaling factor to render the UI at correct size with higher-density display surfaces.

This can be tested under GNOME 3.10 or later by setting:

  gsettings set org.gnome.desktop.interface scaling-factor 2

(set back to 1 for standard resolution)

Gtk2 apps like current version of Gimp may pick up the font size, but all the icons and graphics and whatnot tend to display super-tiny -- this is fairly broken from a user perspective.


Gtk3 has native support for the display scaling; on a quick test of gtk3-port branch, gimp-2.99 displays at proper size in HiDPI mode but all the icons and graphics are blurry. (Additionally various things seem broken in the branch... :( )


On Mac OS X, Gtk3 also has better native support for OS X's HiDPI mode ('Retina display'), so common code in the gtk3 branch should be able to target both.

(Current Gtk2-based Gimp builds display at proper size but icons and some graphics are low-res because Gtk2's OS X backend doesn't know about the high-resolution stuff.)

Basic subissues:
* gtk3 port needs to be completed
* all theme icons should include 2x-resolution versions
* graphics surfaces should render at 2x-density to make use of the screen resolution
Comment 1 Matei Tene 2014-07-29 12:37:01 UTC
Created attachment 281943 [details]
Screenshot of the GIMP UI on a QHD display
Comment 2 Matei Tene 2014-07-29 12:38:09 UTC
I can confirm this bug on a Dell Precision M3800 with QHD display running Ubuntu Gnome 14.04. It is a common issue with gtk2 apps.
Comment 3 Brion Vibber 2014-07-29 20:16:34 UTC
(In reply to comment #2)
> I can confirm this bug on a Dell Precision M3800 with QHD display running
> Ubuntu Gnome 14.04. It is a common issue with gtk2 apps.


That looks like a gtk2 build, yes. This bug is for the gtk3-port branch specifically, which needs more work for HiDPI.

See bug 725464 for a proposed workaround for gtk2.
Comment 4 Sergii 2017-04-22 16:15:29 UTC
Also there are no icons inside GtkFileChooserDialog view, menubar and tree view components. I guess it happens because of this bug.
Comment 5 Sergii 2017-04-22 16:16:30 UTC
(In reply to Sergii from comment #4)
> Also there are no icons inside GtkFileChooserDialog view, menubar and tree
> view components. I guess it happens because of this bug.

my specs: MacBook Pro (Retina, 15-inch, Mid 2015), Intel Iris Pro 1536 MB
Comment 6 Sergii 2017-04-22 16:19:13 UTC
Created attachment 350242 [details]
screenshot_missing_icons
Comment 7 Michael Schumacher 2017-12-19 08:41:53 UTC
*** Bug 791768 has been marked as a duplicate of this bug. ***
Comment 8 Jason 2018-03-01 19:41:03 UTC
Just reporting in to say I'm running Pop!_OS 17.10 (I figure same as Ubuntu 17.10 for these purposes), my monitor is 1920 X 1080, I'm running GIMP 2.9.9.
The options in the brush panel and all workspace cursors are still ridiculously small (like they were in 2.8.x). The tools panel however looks fabulous now.

I would also say that the clipping that happens in the 'Tool Options' tab at the bottom of the tool panel, at sizes one would typically size the panel to (and the default size GIMP itself opened to), is quite awkward. It looks fine when you expand the panel to a somewhat cumbersome width though. The options on the 'Core Pointer' tab are also ridiculously small.

Other than that it's looking great so far. Nice work
Comment 9 Michael Schumacher 2018-03-02 09:02:05 UTC
Thanks for the feedback, but this is the bug report for the GTK+ 3.x-based branch of GIMP (which is in low-maintenance mode and not ready for use until after 2.10 has been released).

The most suitable report for the GTK+ 2.x-based GIMP 2.x is bug 725464, which is mostly about making sure that bigger icons are available and get chosen for high DPI screens. If there are still issues with this, then please open new bugs for them.
Comment 10 Kunda 2018-05-15 22:30:30 UTC
May I suggest to tag this as 3.0 milestone similar to #768286 ?
Comment 11 Michael Natterer 2018-05-16 07:51:08 UTC
Indeed
Comment 12 GNOME Infrastructure Team 2018-05-24 14:20:17 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gimp/issues/539.