Eclipse splash screen shows a resize grip under unity

Bug #734381 reported by qwerty
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Eclipse
Unknown
Unknown
One Hundred Papercuts
Fix Released
Low
Papercuts Ninjas
gtk+2.0 (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Binary package hint: unity

I'm not completely sure this is a bug, but i thought it's worth reporting.
When opening eclipse under unity the splash screen shows a resize grip on the bottom right corner, and I'm guessing it shouldn't.

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: unity 3.6.4-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.38-6.34-generic 2.6.38-rc7
Uname: Linux 2.6.38-6-generic x86_64
NonfreeKernelModules: wl
Architecture: amd64
CompizPlugins: [core,bailer,detection,composite,opengl,decor,snap,place,imgpng,gnomecompat,move,compiztoolbox,session,grid,vpswitch,resize,regex,mousepoll,animation,wall,expo,workarounds,ezoom,staticswitcher,fade,scale,unityshell]
CompositorRunning: compiz
DRM.card0.HDMI.A.1:
 status: disconnected
 enabled: disabled
 dpms: On
 modes:
 edid-base64:
DRM.card0.LVDS.1:
 status: connected
 enabled: enabled
 dpms: On
 modes: 1920x1080 1680x1050 1400x1050 1280x1024 1440x900 1280x960 1280x854 1280x800 1280x720 1152x768 1024x768 800x600 848x480 720x480 640x480
 edid-base64: AP///////wAGr+0QAAAAAAESAQOQIhN4CsiVnldUkiYPUFQAAAABAQEBAQEBAQEBAQEBAQEBgDSAPnA4MkAeFKoAWMEQAAAagDSAPnA4MkAeFKoAWMEQAAAaAAAA/gBGNzkwS4BCMTU2SFcxAAAAAAAAAAAAAAAAAAIBCiAgANU=
DRM.card0.VGA.1:
 status: disconnected
 enabled: disabled
 dpms: On
 modes:
 edid-base64:
Date: Sun Mar 13 12:49:55 2011
DistUpgraded: Log time: 2011-03-12 13:43:26.623154
DistroCodename: natty
DistroVariant: ubuntu
DkmsStatus:
 vboxhost, 4.0.4, 2.6.38-6-generic, x86_64: installed
 vboxhost, 4.0.4, 2.6.35-27-generic, x86_64: installed
 bcmwl, 5.100.82.38+bdcom, 2.6.38-6-generic, x86_64: installed
 bcmwl, 5.100.82.38+bdcom, 2.6.35-27-generic, x86_64: installed
GraphicsCard:
 ATI Technologies Inc M92 [Mobility Radeon HD 4500 Series] [1002:9553] (prog-if 00 [VGA controller])
   Subsystem: Dell Device [1028:02be]
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
InstallationMedia_: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
InstallationMedia__: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
MachineType: Dell Inc. Studio 1555
ProcEnviron:
 LANGUAGE=en_US:en
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.38-6-generic root=UUID=e67f3606-3d4d-418e-a9f5-80e649445e8e ro quiet splash vt.handoff=7
ProcVersionSignature_: Ubuntu 2.6.38-6.34-generic 2.6.38-rc7
ProcVersionSignature__: Ubuntu 2.6.38-6.34-generic 2.6.38-rc7
Renderer: Unknown
SourcePackage: unity
UpgradeStatus: Upgraded to natty on 2011-03-12 (0 days ago)
dmi.bios.date: 08/11/2010
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A12
dmi.board.name: 0C234M
dmi.board.vendor: Dell Inc.
dmi.board.version: A12
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.chassis.version: A12
dmi.modalias: dmi:bvnDellInc.:bvrA12:bd08/11/2010:svnDellInc.:pnStudio1555:pvrA12:rvnDellInc.:rn0C234M:rvrA12:cvnDellInc.:ct8:cvrA12:
dmi.product.name: Studio 1555
dmi.product.version: A12
dmi.sys.vendor: Dell Inc.
version.compiz: compiz 1:0.9.4-0ubuntu4
version.libdrm2: libdrm2 2.4.23-1ubuntu3
version.libgl1-mesa-glx: libgl1-mesa-glx 7.10.1-0ubuntu1
version.xserver-xorg: xserver-xorg 1:7.6~3ubuntu11
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.14.0-0ubuntu2
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.14.0-4ubuntu1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:0.0.16+git20110107+b795ca6e-0ubuntu5

Related branches

Revision history for this message
qwerty (matiasjrossi) wrote :
Changed in unity (Ubuntu):
status: New → Confirmed
Changed in unity:
status: New → Confirmed
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report, it's not an unity bug but an eclipse,gtk one, ubuntu backported the gtk3 work to show those, there is a gtk api the application can use to disable the grip but it's not meant to be required in gtk2 so it's somewhat normal upstream softwares don't use it

affects: unity (Ubuntu) → gtk+2.0 (Ubuntu)
Changed in gtk+2.0 (Ubuntu):
importance: Undecided → Low
affects: gtk+2.0 (Ubuntu) → eclipse (Ubuntu)
Changed in unity:
importance: Undecided → Low
status: Confirmed → Invalid
Revision history for this message
Sebastien Bacher (seb128) wrote :

Do you use the Ubuntu eclipse version or an upstream build? The ubuntu version should probably be patched, though that's a small cosmetic issue

affects: eclipse (Ubuntu) → gtk+2.0 (Ubuntu)
Changed in gtk+2.0 (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Marco Biscaro (marcobiscaro2112) wrote :

I can confirm this using upstream version of Eclipse (3.6).

Revision history for this message
qwerty (matiasjrossi) wrote :

Ubuntu version here.

Revision history for this message
Vish (vish) wrote :

Shouldnt this be a bug in eclipse(ubuntu)?
As in, it should turn off the grip for its splash?

affects: unity → hundredpapercuts
Changed in hundredpapercuts:
status: Invalid → Confirmed
milestone: none → nt9-grippy
assignee: nobody → Papercuts Ninja (papercuts-ninja)
Revision history for this message
Timothy Arceri (t-fridey) wrote :

Reported upstream

Revision history for this message
Timothy Arceri (t-fridey) wrote :

I'm starting to think this is a bug with the back porting of grips to gtk2 rather than an Eclipse bug.

As can be seen here: http://dev.eclipse.org/viewcvs/viewvc.cgi/platform-launcher/library/gtk/eclipseGtk.c?view=markup

Resize on the splash window is disabled so the grips should not be shown. gtk_window_set_resizable(main, FALSE);

Revision history for this message
Timothy Arceri (t-fridey) wrote :

According to: http://developer.gnome.org/gtk3/3.3/GtkWindow.html#gtk-window-set-has-resize-grip

"the resize grip is only shown if the window is actually resizable"

Changed in gtk+2.0 (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Timothy Arceri (t-fridey) wrote :

Ok, I'm pretty sure this is a bug in the function gtk_window_resize_grip_is_visible in gtkwindow.c as the gtk2 code does not check if the window is resizable.

this would be very easy to fix. GTK 3 has the following:

 if (!priv->resizable)
    return FALSE;

Something similar needs to be added to the gtk2 function.

Changed in gtk+2.0 (Ubuntu):
status: Confirmed → Fix Committed
Revision history for this message
Sebastien Bacher (seb128) wrote :

we will drop the gtk2 patch for precise, that will fix that issue

Changed in hundredpapercuts:
status: Confirmed → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gtk+2.0 - 2.24.10-0ubuntu5

---------------
gtk+2.0 (2.24.10-0ubuntu5) precise; urgency=low

  * debian/control.in:
    - breaks on the binaries which were using the grip function backported
  * debian/libgtk2.0-0.symbols:
    debian/patches/044_grips.patch:
    - dropped the feature is only in gtk3 upstream, the backport had
      issues and most upstream softwares are not made to deal with it.
      the grips will be also dropped from the default gtk3 theme since unity
      has resize borders (lp: #744993)
    - will fix issues with libreoffice (lp: #749986) and splash screens
      in other softwares (lp: #704105, #734381)
 -- Sebastien Bacher <email address hidden> Fri, 24 Feb 2012 18:39:56 +0100

Changed in gtk+2.0 (Ubuntu):
status: Fix Committed → Fix Released
Changed in hundredpapercuts:
status: Fix Committed → Fix Released
Revision history for this message
David Williams (david-williams) wrote :

I just wanted to say a personal thanks for this fix (and, the reporting, and investigating, and the releasing, and the building ...).

I have confirmed on Ubuntu 12.04 Beta 1 that the Eclipse splash screen displays without the resize grip, and it looks much better .... it is great to see attention paid to such detail (paper-cut indeed!)

Thanks again,

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.