Closed Bug 1752992 Opened 4 years ago Closed 4 years ago

[Linux] Use unmap gtk signal to release window resources

Categories

(Core :: Widget: Gtk, enhancement)

enhancement

Tracking

()

RESOLVED WONTFIX

People

(Reporter: stransky, Assigned: stransky)

References

Details

Attachments

(1 obsolete file)

Right now we release window resources on unrealize gtk signal. That's suboptimal as unrealize is called on application quit. Let's try to use onmap and release window resources when window is hidden.

Right now we release window resources on unrealize gtk signal which is suboptimal as unrealize is called on application quit.
In this patch we:

  • release window resources on unmap gtk signal when widget is hidden
  • don't fail when mGdkWindow is null

There's a r+ patch which didn't land and no activity in this bug for 2 weeks.
:stransky, could you have a look please?
If you still have some work to do, you can add an action "Plan Changes" in Phabricator.
For more information, please visit auto_nag documentation.

Flags: needinfo?(stransky)
Flags: needinfo?(emilio)

That fails with tests and I don't know how to fix that (if that's even possible).

Flags: needinfo?(stransky)
Flags: needinfo?(emilio)
Attachment #9261661 - Attachment is obsolete: true

We can't destroy compositor until window itself is destroyed.

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: