Fixed startup crashes (rhbz#1709373, rhbz#1685276, rhbz#1708611)
This commit is contained in:
parent
5dfec457df
commit
95a956f30d
@ -2956,7 +2956,7 @@ diff -up thunderbird-60.5.0/widget/gtk/nsWindow.cpp.wayland thunderbird-60.5.0/w
|
|||||||
+ // If the window were to get unredirected, there could be visible
|
+ // If the window were to get unredirected, there could be visible
|
||||||
+ // tearing because Gecko does not align its framebuffer updates with
|
+ // tearing because Gecko does not align its framebuffer updates with
|
||||||
+ // vblank.
|
+ // vblank.
|
||||||
+ SetCompositorHint(GTK_WIDGET_COMPOSIDED_ENABLED);
|
+ // SetCompositorHint(GTK_WIDGET_COMPOSIDED_ENABLED);
|
||||||
+ }
|
+ }
|
||||||
}
|
}
|
||||||
#ifdef MOZ_WAYLAND
|
#ifdef MOZ_WAYLAND
|
||||||
@ -3179,7 +3179,7 @@ diff -up thunderbird-60.5.0/widget/gtk/nsWindow.cpp.wayland thunderbird-60.5.0/w
|
|||||||
+ g_object_set_data(G_OBJECT(gtk_widget_get_window(mShell)), "nsWindow",
|
+ g_object_set_data(G_OBJECT(gtk_widget_get_window(mShell)), "nsWindow",
|
||||||
+ this);
|
+ this);
|
||||||
+#ifdef MOZ_X11
|
+#ifdef MOZ_X11
|
||||||
+ SetCompositorHint(GTK_WIDGET_COMPOSIDED_ENABLED);
|
+ // SetCompositorHint(GTK_WIDGET_COMPOSIDED_ENABLED);
|
||||||
+#endif
|
+#endif
|
||||||
+ RefreshWindowClass();
|
+ RefreshWindowClass();
|
||||||
+
|
+
|
||||||
@ -4426,3 +4426,16 @@ diff -up thunderbird-60.5.0/widget/gtk/WindowSurfaceWayland.h.wayland thunderbir
|
|||||||
};
|
};
|
||||||
|
|
||||||
} // namespace widget
|
} // namespace widget
|
||||||
|
diff -up thunderbird-60.6.1/widget/gtk/WindowSurfaceProvider.cpp.old thunderbird-60.6.1/widget/gtk/WindowSurfaceProvider.cpp
|
||||||
|
--- thunderbird-60.6.1/widget/gtk/WindowSurfaceProvider.cpp.old 2019-05-14 21:11:50.219841534 +0200
|
||||||
|
+++ thunderbird-60.6.1/widget/gtk/WindowSurfaceProvider.cpp 2019-05-14 21:11:58.228755117 +0200
|
||||||
|
@@ -52,9 +52,6 @@ void WindowSurfaceProvider::Initialize(D
|
||||||
|
|
||||||
|
#ifdef MOZ_WAYLAND
|
||||||
|
void WindowSurfaceProvider::Initialize(nsWindow* aWidget) {
|
||||||
|
- MOZ_ASSERT(aWidget->GetWaylandDisplay(),
|
||||||
|
- "We are supposed to have a Wayland display!");
|
||||||
|
-
|
||||||
|
mWidget = aWidget;
|
||||||
|
mIsX11Display = false;
|
||||||
|
}
|
||||||
|
@ -89,7 +89,7 @@ ExcludeArch: s390x
|
|||||||
Summary: Mozilla Thunderbird mail/newsgroup client
|
Summary: Mozilla Thunderbird mail/newsgroup client
|
||||||
Name: thunderbird
|
Name: thunderbird
|
||||||
Version: 60.6.1
|
Version: 60.6.1
|
||||||
Release: 4%{?dist}
|
Release: 5%{?dist}
|
||||||
URL: http://www.mozilla.org/projects/thunderbird/
|
URL: http://www.mozilla.org/projects/thunderbird/
|
||||||
License: MPLv1.1 or GPLv2+ or LGPLv2+
|
License: MPLv1.1 or GPLv2+ or LGPLv2+
|
||||||
Source0: ftp://ftp.mozilla.org/pub/thunderbird/releases/%{version}%{?pre_version}/source/thunderbird-%{version}%{?pre_version}.source.tar.xz
|
Source0: ftp://ftp.mozilla.org/pub/thunderbird/releases/%{version}%{?pre_version}/source/thunderbird-%{version}%{?pre_version}.source.tar.xz
|
||||||
@ -118,6 +118,7 @@ Patch226: rhbz-1354671.patch
|
|||||||
Patch415: Bug-1238661---fix-mozillaSignalTrampoline-to-work-.patch
|
Patch415: Bug-1238661---fix-mozillaSignalTrampoline-to-work-.patch
|
||||||
Patch103: rhbz-1219542-s390-build.patch
|
Patch103: rhbz-1219542-s390-build.patch
|
||||||
Patch104: mozilla-1533969.patch
|
Patch104: mozilla-1533969.patch
|
||||||
|
Patch105: thunderbird-debug.patch
|
||||||
|
|
||||||
# PPC fix
|
# PPC fix
|
||||||
Patch304: mozilla-1245783.patch
|
Patch304: mozilla-1245783.patch
|
||||||
@ -243,6 +244,7 @@ debug %{name}, you want to install %{name}-debuginfo instead.
|
|||||||
%patch103 -p1 -b .rhbz-1219542-s390-build
|
%patch103 -p1 -b .rhbz-1219542-s390-build
|
||||||
%endif
|
%endif
|
||||||
%patch104 -p1 -b .1533969
|
%patch104 -p1 -b .1533969
|
||||||
|
%patch105 -p1 -b .debug
|
||||||
|
|
||||||
%patch304 -p1 -b .1245783
|
%patch304 -p1 -b .1245783
|
||||||
%patch309 -p1 -b .1460871-ldap-query
|
%patch309 -p1 -b .1460871-ldap-query
|
||||||
@ -696,6 +698,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|||||||
#===============================================================================
|
#===============================================================================
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* May Wed 15 2019 Martin Stransky <stransky@redhat.com> - 60.6.1-5
|
||||||
|
- Fixed startup crashes (rhbz#1709373, rhbz#1685276, rhbz#1708611)
|
||||||
|
|
||||||
* Fri Apr 12 2019 Martin Stransky <stransky@redhat.com> - 60.6.1-4
|
* Fri Apr 12 2019 Martin Stransky <stransky@redhat.com> - 60.6.1-4
|
||||||
- Addef fix for mozbz#1508378
|
- Addef fix for mozbz#1508378
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user