From 7248244c9fc73c2f08996d43f19c7eb93ca00b42 Mon Sep 17 00:00:00 2001 From: "B. Stack" Date: Tue, 20 Jun 2023 08:33:24 -0400 Subject: ffs 12.4 rc1 --- .../patches/revert_buggy_gtk3_change_in_12.1.patch | 24 +++------------------- 1 file changed, 3 insertions(+), 21 deletions(-) (limited to 'freefilesync/debian/patches/revert_buggy_gtk3_change_in_12.1.patch') diff --git a/freefilesync/debian/patches/revert_buggy_gtk3_change_in_12.1.patch b/freefilesync/debian/patches/revert_buggy_gtk3_change_in_12.1.patch index 578b2db..c4a8feb 100644 --- a/freefilesync/debian/patches/revert_buggy_gtk3_change_in_12.1.patch +++ b/freefilesync/debian/patches/revert_buggy_gtk3_change_in_12.1.patch @@ -40,8 +40,8 @@ Last-Update: 2023-03-19 m_buttonSaveAs->SetFocus(); --- a/FreeFileSync/Source/ui/progress_indicator.cpp +++ b/FreeFileSync/Source/ui/progress_indicator.cpp -@@ -218,10 +218,7 @@ CompareProgressPanel::Impl::Impl(wxFrame - m_panelTimeStats->Layout(); +@@ -221,10 +221,7 @@ CompareProgressPanel::Impl::Impl(wxFrame + m_panelErrorStats->Layout(); GetSizer()->SetSizeHints(this); //~=Fit() + SetMinSize() -#ifdef __WXGTK3__ @@ -52,7 +52,7 @@ Last-Update: 2023-03-19 } -@@ -884,10 +881,6 @@ syncStat_(&syncStat) +@@ -923,10 +920,6 @@ syncStat_(&syncStat) //make sure that standard height matches ProcessPhase::comparingContent statistics layout (== largest) this->GetSizer()->SetSizeHints(this); //~=Fit() + SetMinSize() @@ -241,21 +241,3 @@ Last-Update: 2023-03-19 Raise(); //[!] popup may be triggered by ffs_batch job running in the background! if (m_buttonAccept->IsEnabled()) ---- a/wx+/tooltip.cpp -+++ b/wx+/tooltip.cpp -@@ -79,12 +79,11 @@ void Tooltip::show(const wxString& text, - } - - if (imgChanged || txtChanged) -+ { - //tipWindow_->Layout(); -> apparently not needed!? - tipWindow_->GetSizer()->SetSizeHints(tipWindow_); //~=Fit() + SetMinSize() --#ifdef __WXGTK3__ -- //GTK3 size calculation requires visible window: https://github.com/wxWidgets/wxWidgets/issues/16088 -- //=> call wxWindow::Show() to "execute" --#endif -+ //Linux: Fit() seems to be broken => call EVERY time inside show, not only if text or bmp change -> still true?!? -+ } - - const wxPoint newPos = wxTheApp->GetLayoutDirection() == wxLayout_RightToLeft ? - mousePos - wxPoint(fastFromDIP(TIP_WINDOW_OFFSET_DIP) + tipWindow_->GetSize().GetWidth(), 0) : -- cgit