Ticket #3611 (closed defect: fixed)

Opened 7 years ago

Last modified 7 years ago

Pressing a button in frame "disconnects" button from palette

Reported by: Eben Owned by: marco
Priority: normal Milestone: 8.2.0 (was Update.2)
Component: sugar Version:
Keywords: Cc: benzea, mtd
Action Needed: Verified: no
Deployments affected: Blocked By:
Blocking:

Description

When pressing a button a gray rounded rect appears behind the button icon. This works fine when there is no palette open. However, when a palette is drawn, the pressed state renders a gray border around the button, which separates the button from the palette by a gray line.

This border should not be drawn in this state.

Attachments

palette-transient.patch (506 bytes) - added by benzea 7 years ago.
simple patch to add the call to set_transient_for

Change History

Changed 7 years ago by benzea

  • owner changed from benzea to marco
  • component changed from gtk-theme to sugar

This is a sugar issue I think. Also note that the menu is the widget that is missing the gap, not the button.

Changed 7 years ago by benzea

This is an issue with the z-order of the X windows. What is happening is that the frame window is raised above the palette one. And then the grey border of the frame is on top of the gap.

Changed 7 years ago by Eben

  • summary changed from Pressed state of buttons is incorrect when a palette is open to Pressing a button in frame "disconnects" button from palette

Changed 7 years ago by jg

  • milestone changed from Untriaged to First Deployment, V1.0

Changed 7 years ago by benzea

  • cc benzea added

Just found an easy way to fix this. The only thing needed need is to call gtk.Window.set_transient_for.

Changed 7 years ago by benzea

simple patch to add the call to set_transient_for

Changed 7 years ago by mtd

  • cc mtd added

Changed 7 years ago by benzea

  • status changed from new to closed
  • resolution set to fixed

I have pushed the patch into the master branch.

Note: See TracTickets for help on using tickets.