Do

Do's main window shows a resize grip in GTK3

Bug #925715 reported by Robert Dyer
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Do
Invalid
Medium
Unassigned
gtk+2.0 (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Do's main window shows the new GTK3 resize grip in the lower right corner. Do should not show any resize grip.

See attached image for details.

Since I am unaware of how the grip is implemented, this is either a bug with GTK3's implementation or Do needs to set *something* to tell GTK3 to not draw that.

Ubuntu 11.10

$ bzr revno
1369
$ bzr info
Standalone tree (format: 2a)
Location:
  branch root: .

Related branches:
  parent branch: bzr+ssh://bazaar.launchpad.net/%2Bbranch/do/

libgtk-3-0:
  Installed: 3.2.0-0ubuntu4
  Candidate: 3.2.0-0ubuntu4
  Version table:
 *** 3.2.0-0ubuntu4 0
        500 http://us.archive.ubuntu.com/ubuntu/ oneiric-updates/main i386 Packages
        100 /var/lib/dpkg/status
     3.2.0-0ubuntu2 0
        500 http://us.archive.ubuntu.com/ubuntu/ oneiric/main i386 Packages

Revision history for this message
Robert Dyer (psybers) wrote :
Revision history for this message
Chris Halse Rogers (raof) wrote : Re: [Bug 925715] Re: Do's main window shows a resize grip in GTK3

 affects do
 status triaged
 importance medium

Yup. This is actually only a problem on Ubuntu, where we've patched
GTK2 to have the resizers by default.

What needs to be done is to check for the existence of the GTK# API
required to turn it off (also an Ubuntu patch) and use it if it's
available.

Changed in do:
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Robert Dyer (psybers) wrote :

I assume that GTK2 patch only targets some windows? In other words, it ignores things like Splash screens or Docks/Panels?

Isn't Do's window marked as a Splashscreen? Or was that changed at some point? It would seem like GTK2 should just ignore it on its own without further intervention needed on Do's part.

Revision history for this message
Chris Halse Rogers (raof) wrote :

On Fri, 2012-02-03 at 01:19 +0000, Robert Dyer wrote:
> I assume that GTK2 patch only targets some windows? In other words, it
> ignores things like Splash screens or Docks/Panels?
>

Actually, I don't think that it does; I see it on the monodevelop
splash, too.

> Isn't Do's window marked as a Splashscreen? Or was that changed at some
> point? It would seem like GTK2 should just ignore it on its own without
> further intervention needed on Do's part.
>

Yup, it's marked as Splash. Automatically disabling the resize handles
on such windows seems like a reasonable behaviour!

Revision history for this message
Robert Dyer (psybers) wrote :

So perhaps this needs filed with the libgtk-2.0 package in Ubuntu? Or upstream in GTK's bugzilla?

I personally don't think Do needs to do anything here.

Revision history for this message
Chris Halse Rogers (raof) wrote :

On Fri, 2012-02-03 at 02:11 +0000, Robert Dyer wrote:
> So perhaps this needs filed with the libgtk-2.0 package in Ubuntu? Or
> upstream in GTK's bugzilla?
>

Against libgtk-2.0 in Ubuntu; this patch isn't in upstream GTK2.

It is in GTK3, but I'm not sure how that's handled.

Robert Dyer (psybers)
affects: gtk → gtk+2.0 (Ubuntu)
Revision history for this message
Timothy Arceri (t-fridey) wrote :

Resize grips were removed from gtk+2 in Ubuntu due to issues. This should no longer be a problem.

Changed in gtk+2.0 (Ubuntu):
status: New → Invalid
Changed in do:
status: Triaged → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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