summaryrefslogtreecommitdiff
path: root/freefilesync/debian/patches/revert_buggy_gtk3_change_in_12.1.patch
diff options
context:
space:
mode:
Diffstat (limited to 'freefilesync/debian/patches/revert_buggy_gtk3_change_in_12.1.patch')
-rw-r--r--freefilesync/debian/patches/revert_buggy_gtk3_change_in_12.1.patch24
1 files changed, 3 insertions, 21 deletions
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) :
bgstack15