compiz team mailing list archive
-
compiz team
-
Mailing list archive
-
Message #54145
[Bug 1478272] [NEW] Any application using the GTK Headerbar minimize button crashed on minimize
Public bug reported:
I am using Ubuntu 15.04
The application is my own
It can be downloaded in the following PPA: https://launchpad.net/~agronick/+archive/ubuntu/relay or in Github: https://github.com/agronick/Relay
The package is "relay"
When I click the minimize button I expect the program to minimize.
Instead compiz crashes. This ONLY happens on Compiz with themes that use the GTK Headerbar minimize button and not Ubuntu's. You can download it an see this problem. It affects other users as well.
I have an app and I set a different theme to use one that is darker. On
any theme where the minimize button is the square type build into the
headerbar on minimize compiz crashes. The app is fine. I am doing
nothing special to draw the minimize button. The app works fine on
anything besides compiz. If the minimize button is small and circular
like the default Ubuntu theme it minimizes fine.
Adwaita crashes as well as any other theme with square buttons in the
header bar.
The lines that set the theme are 128 and 129 in src/Relay.vala, This is:
if (on_ubuntu)
Gtk.Settings.get_default().gtk_theme_name = "Adwaita";
** Affects: compiz (Ubuntu)
Importance: Undecided
Status: New
** Tags: compiz crash minimize
** Description changed:
I am using Ubuntu 15.04
The application is my own
- It can be downloaded in the following PPA or in the Github link below: https://launchpad.net/~agronick/+archive/ubuntu/relay
+ It can be downloaded in the following PPA: https://launchpad.net/~agronick/+archive/ubuntu/relay or in Github: https://github.com/agronick/Relay
The package is "relay"
When I click the minimize button I expect the program to minimize.
- Instead compiz crashes. This ONLY happens on Compiz with themes that use the GTK Headerbar minimize buttons and not Ubuntu's.
+ Instead compiz crashes. This ONLY happens on Compiz with themes that use the GTK Headerbar minimize button and not Ubuntu's. You can download it an see this problem. It affects other users as well.
I have an app and I set a different theme to use one that is darker. On
any theme where the minimize button is the square type build into the
headerbar on minimize compiz crashes. The app is fine. I am doing
nothing special to draw the minimize button. The app works fine on
anything besides compiz. If the minimize button is small and circular
like the default Ubuntu theme it minimizes fine.
- This is the app: https://github.com/agronick/Relay
+ Adwaita crashes as well as any other theme with square buttons in the
+ header bar.
- Right now I am just hiding the minimize button on Ubuntu which is a
- terrible solution. If you delete lines 96 and 97 in src/main_window.vala
- which are:
-
- else if (Relay.on_ubuntu)
- toolbar.decoration_layout = "maximize,close";
-
- You'll get the minimize button back.
-
- I set the theme on lines 128 and 129 in src/Relay.vala these are:
+ The lines that set the theme are 128 and 129 in src/Relay.vala, This is:
if (on_ubuntu)
Gtk.Settings.get_default().gtk_theme_name = "Adwaita";
-
- Adwaita crashes as well as any other theme with square buttons in the
- header bar.
--
You received this bug notification because you are a member of compiz
packagers, which is subscribed to compiz in Ubuntu.
https://bugs.launchpad.net/bugs/1478272
Title:
Any application using the GTK Headerbar minimize button crashed on
minimize
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/1478272/+subscriptions
Follow ups