Bug 570614

Summary: Wayland on displays with different fractional scaling: Eclipse is fine on the primary display only
Product: [Eclipse Project] Platform Reporter: Martin Coufal <mcoufal>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 CC: sdamrong, vkadlcik
Version: 4.19   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Martin Coufal CLA 2021-01-25 07:07:21 EST
Originally reported by Vaclav as 553486, but this is still an issue in the latest builds. Following is edited copy of the original bug report:

'''
If I set different fractional scaling factors for my two displays
then Eclipse starts fine only on the primary display. When Eclipse
starts on the secondary display (or if I move Eclipse from the
primary display to the secondary one) then its rendering is broken.

Eclipse: 
  * eclipse-platform-4.19M1

My environment:
  * 2 displays
  * Fedora 32 (x86_64)
  * Wayland + GNOME with fractional scaling enabled:
      $ gsettings get org.gnome.mutter experimental-features 
      ['scale-monitor-framebuffer']

Steps to reproduce:

  1. Have 2 displays and configure different fractional scaling
     for them, e.g. 125% for the primary display, 100% for the
     secondary one.
  2. Run Eclipse while having your pointer on the secondary
     display.

As a workaround I can maximize the window and then un-maximize it. Further
resizing is OK unless I opt for some of the "maximize" options.
'''