public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Jan Grulich <jgrulich@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/mediawriter] epel10: Fix UI issues in download dialog with Qt 5.15
Date: Tue, 29 Sep 2026 15:27:43 GMT [thread overview]
Message-ID: <179069566371.1.8417179640425342883.rpms-mediawriter-2a47afd091a3@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/mediawriter
Branch : epel10
Commit : 2a47afd091a337d881532b7d7669c1ba06615ef5
Author : Jan Grulich <jgrulich@redhat.com>
Date : 2021-01-04T19:01:18+01:00
Stats : +68/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/mediawriter/c/2a47afd091a337d881532b7d7669c1ba06615ef5?branch=epel10
Log:
Fix UI issues in download dialog with Qt 5.15
---
diff --git a/mediawriter-fix-download-dialog-ui-with-latest-qt.patch b/mediawriter-fix-download-dialog-ui-with-latest-qt.patch
new file mode 100644
index 0000000..1602853
--- /dev/null
+++ b/mediawriter-fix-download-dialog-ui-with-latest-qt.patch
@@ -0,0 +1,62 @@
+diff --git a/app/dialogs/DownloadDialog.qml b/app/dialogs/DownloadDialog.qml
+index 5a19eb9..6ee539c 100644
+--- a/app/dialogs/DownloadDialog.qml
++++ b/app/dialogs/DownloadDialog.qml
+@@ -297,42 +297,42 @@ Dialog {
+
+ InfoMessage {
+ id: messageDownload
++ Layout.fillWidth: true
+ visible: false
+- width: infoColumn.width
+ text: qsTr("The file will be saved to your Downloads folder.")
+ }
+
+ InfoMessage {
+ id: messageLoseData
++ Layout.fillWidth: true
+ visible: false
+- width: infoColumn.width
+ text: qsTr("By writing, you will lose all of the data on %1.").arg(driveCombo.currentText)
+ }
+
+ InfoMessage {
+ id: messageRestore
++ Layout.fillWidth: true
+ visible: false
+- width: infoColumn.width
+ text: qsTr("Your drive will be resized to a smaller capacity. You may resize it back to normal by using Fedora Media Writer; this will remove installation media from your drive.")
+ }
+
+ InfoMessage {
+ id: messageSelectedImage
+- width: infoColumn.width
++ Layout.fillWidth: true
+ visible: releases.selected.isLocal
+ text: "<font color=\"gray\">" + qsTr("Selected:") + "</font> " + (releases.variant.iso ? (((String)(releases.variant.iso)).split("/").slice(-1)[0]) : ("<font color=\"gray\">" + qsTr("None") + "</font>"))
+ }
+
+ InfoMessage {
+ id: messageArmBoard
+- width: infoColumn.width
++ Layout.fillWidth: true
+ visible: boardCombo.otherSelected
+ text: qsTr("Your board or device is not supported by Fedora Media Writer yet. Please check <a href=%1>this page</a> for more information about its compatibility with Fedora and how to create bootable media for it.").arg("https://fedoraproject.org/wiki/Architectures/ARM")
+ }
+
+ InfoMessage {
+ id: messageDriveSize
+- width: infoColumn.width
++ Layout.fillWidth: true
+ enabled: true
+ visible: enabled && drives.selected && drives.selected.size > 160 * 1024 * 1024 * 1024 // warn when it's more than 160GB
+ text: qsTr("The selected drive's size is %1. It's possible you have selected an external drive by accident!").arg(drives.selected ? drives.selected.readableSize : "N/A")
+@@ -340,7 +340,7 @@ Dialog {
+
+ InfoMessage {
+ error: true
+- width: infoColumn.width
++ Layout.fillWidth: true
+ visible: releases.variant && releases.variant.errorString.length > 0
+ text: releases.variant ? releases.variant.errorString : ""
+ }
diff --git a/mediawriter.spec b/mediawriter.spec
index 4dc5b2b..77c59de 100644
--- a/mediawriter.spec
+++ b/mediawriter.spec
@@ -1,12 +1,14 @@
Name: mediawriter
Version: 4.1.7
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Fedora Media Writer
License: GPLv2+
URL: https://github.com/FedoraQt/MediaWriter
Source0: https://github.com/FedoraQt/MediaWriter/archive/MediaWriter-%{version}.tar.gz
+Patch0: mediawriter-fix-download-dialog-ui-with-latest-qt.patch
+
Provides: liveusb-creator = %{version}-%{release}
Obsoletes: liveusb-creator <= 3.95.4-2
@@ -67,6 +69,9 @@ appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/org.fedo
%changelog
+* Mon Jan 04 2021 Jan Grulich <jgrulich@redhat.com> - 4.1.7-2
+- Fix UI issues in download dialog with Qt 5.15
+
* Thu Dec 17 2020 Jan Grulich <jgrulich@redhat.com> - 4.1.7-1
- 4.1.7
reply other threads:[~2026-09-29 15:27 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179069566371.1.8417179640425342883.rpms-mediawriter-2a47afd091a3@fedoraproject.org \
--to=jgrulich@redhat.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox