another bugfix I’d like to have in before destabilising
authormirabilos <tg@debian.org>
Thu, 7 Nov 2019 16:43:00 +0000 (17:43 +0100)
committermirabilos <mirabilos@evolvis.org>
Thu, 7 Nov 2019 16:43:00 +0000 (17:43 +0100)
debian/changelog
debian/patches/experiments/file-dialogues.diff [new file with mode: 0644]
debian/patches/series

index 08933d5..af155a9 100644 (file)
@@ -1,3 +1,10 @@
+musescore (3.2.3+dfsg1-4) unstable; urgency=medium
+
+  * Apply workaround for broken directory bookmarks in file dialogue
+  * (Yes I know 3.3’s out, I will be packaging it shortly)
+
+ -- Thorsten Glaser <tg@mirbsd.de>  Thu, 07 Nov 2019 17:42:09 +0100
+
 musescore (3.2.3+dfsg1-3) unstable; urgency=high
 
   * Fix crash on reading preferences files containing unrecognised
diff --git a/debian/patches/experiments/file-dialogues.diff b/debian/patches/experiments/file-dialogues.diff
new file mode 100644 (file)
index 0000000..cdd215d
--- /dev/null
@@ -0,0 +1,29 @@
+Description: fix #292912: use native file dialogues by default also on Linux
+Author: mirabilos <m@mirbsd.org>
+Forwarded: https://github.com/musescore/MuseScore/pull/5461
+
+--- a/mscore/preferences.cpp
++++ b/mscore/preferences.cpp
+@@ -48,13 +48,6 @@ void Preferences::init(bool storeInMemor
+       bool checkExtensionsUpdateStartup = false;
+ #endif
+-#if defined(Q_OS_MAC) || defined(Q_OS_WIN)
+-      // use system native file dialogs
+-      // Qt file dialog is very slow on Windows and Mac
+-      bool nativeDialogs           = true;
+-#else
+-      bool nativeDialogs           = false;    // don't use system native file dialogs
+-#endif
+       bool defaultUsePortAudio = false;
+       bool defaultUsePulseAudio = false;
+       bool defaultUseJackAudio = false;
+@@ -173,7 +166,7 @@ void Preferences::init(bool storeInMemor
+             {PREF_UI_APP_RASTER_HORIZONTAL,                        new IntPreference(2)},
+             {PREF_UI_APP_RASTER_VERTICAL,                          new IntPreference(2)},
+             {PREF_UI_APP_SHOWSTATUSBAR,                            new BoolPreference(true)},
+-            {PREF_UI_APP_USENATIVEDIALOGS,                         new BoolPreference(nativeDialogs)},
++            {PREF_UI_APP_USENATIVEDIALOGS,                         new BoolPreference(true)},
+             {PREF_UI_PIANO_HIGHLIGHTCOLOR,                         new ColorPreference(QColor("#1259d0"))},
+             {PREF_UI_SCORE_NOTE_DROPCOLOR,                         new ColorPreference(QColor("#1778db"))},
+             {PREF_UI_SCORE_DEFAULTCOLOR,                           new ColorPreference(QColor("#000000"))},
index a97caed..11d4b33 100644 (file)
@@ -11,6 +11,7 @@ upstream/undoable-spacer-drag-length.diff
 upstream/workspace-crash.diff
 experiments/statusline-concert-transposing-pitch.diff
 experiments/element-barbeat.diff
+experiments/file-dialogues.diff
 #experiments/revert-restriking-patch.diff
 #experiments/log-collisions.diff
 #debian-specific/qt-5.7.diff