icons: square closebutton.png and copy_bw.png so they don't resize on highlight (qml) and upscale qrcode-[_white].png for the same reason and so we don't need to apply scaling
What changed, and why it matters
This commit only changes icon images and removes a visual scaling setting in the mobile/QML user interface. It fixes a minor cosmetic issue where icons would appear to resize when highlighted. There is no security relevance.
No security action needed. Treat as a routine UI maintenance commit.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The commit replaces four PNG icon assets (closebutton.png, copy_bw.png, qrcode.png, qrcode_white.png) with squared/upscaled versions and removes the scale: 1.2 property from QML Button components that use the qrcode icon. This is a UI/UX polish change to avoid visual resizing on highlight states. No code logic, cryptography, networking, parsing, or privilege handling is modified.
Changed components
electrum/gui/icons/closebutton.pngelectrum/gui/icons/copy_bw.pngelectrum/gui/icons/qrcode.pngelectrum/gui/icons/qrcode_white.pngelectrum/gui/qml/components/ImportAddressesKeysDialog.qmlelectrum/gui/qml/components/OpenChannelDialog.qmlelectrum/gui/qml/components/SweepDialog.qmlelectrum/gui/qml/components/wizard/WCHaveMasterKey.qmlelectrum/gui/qml/components/wizard/WCImport.qmlInspect captured patch +0 / −5
diff --git a/electrum/gui/icons/closebutton.png b/electrum/gui/icons/closebutton.png
index 3492418..ecd8a0d 100644
Binary files a/electrum/gui/icons/closebutton.png and b/electrum/gui/icons/closebutton.png differ
diff --git a/electrum/gui/icons/copy_bw.png b/electrum/gui/icons/copy_bw.png
index 739edbe..50d7572 100644
Binary files a/electrum/gui/icons/copy_bw.png and b/electrum/gui/icons/copy_bw.png differ
diff --git a/electrum/gui/icons/qrcode.png b/electrum/gui/icons/qrcode.png
index 41a84aa..3c1bf8b 100644
Binary files a/electrum/gui/icons/qrcode.png and b/electrum/gui/icons/qrcode.png differ
diff --git a/electrum/gui/icons/qrcode_white.png b/electrum/gui/icons/qrcode_white.png
index 23ea916..9c675be 100644
Binary files a/electrum/gui/icons/qrcode_white.png and b/electrum/gui/icons/qrcode_white.png differ
diff --git a/electrum/gui/qml/components/ImportAddressesKeysDialog.qml b/electrum/gui/qml/components/ImportAddressesKeysDialog.qml
index e84d5e7..2f23cd6 100644
--- a/electrum/gui/qml/components/ImportAddressesKeysDialog.qml
+++ b/electrum/gui/qml/components/ImportAddressesKeysDialog.qml
@@ -84,7 +84,6 @@ ElDialog {
icon.source: '../../icons/qrcode.png'
icon.height: constants.iconSizeMedium
icon.width: constants.iconSizeMedium
- scale: 1.2
onClicked: {
var dialog = app.scanDialog.createObject(app, {
hint: Daemon.currentWallet.isWatchOnly
diff --git a/electrum/gui/qml/components/OpenChannelDialog.qml b/electrum/gui/qml/components/OpenChannelDialog.qml
index 6282c54..b18da4d 100644
--- a/electrum/gui/qml/components/OpenChannelDialog.qml
+++ b/electrum/gui/qml/components/OpenChannelDialog.qml
@@ -117,7 +117,6 @@ ElDialog {
icon.source: '../../icons/qrcode.png'
icon.height: constants.iconSizeMedium
icon.width: constants.iconSizeMedium
- scale: 1.2
onClicked: {
var dialog = app.scanDialog.createObject(app, {
hint: qsTr('Scan a node-id or a connect string')
diff --git a/electrum/gui/qml/components/SweepDialog.qml b/electrum/gui/qml/components/SweepDialog.qml
index 6ea763f..a23ff67 100644
--- a/electrum/gui/qml/components/SweepDialog.qml
+++ b/electrum/gui/qml/components/SweepDialog.qml
@@ -114,7 +114,6 @@ ElDialog {
icon.source: '../../icons/qrcode.png'
icon.height: constants.iconSizeMedium
icon.width: constants.iconSizeMedium
- scale: 1.2
onClicked: {
var dialog = app.scanDialog.createObject(app, {
hint: qsTr('Scan a private key')
diff --git a/electrum/gui/qml/components/wizard/WCHaveMasterKey.qml b/electrum/gui/qml/components/wizard/WCHaveMasterKey.qml
index b71174e..f53f95a 100644
--- a/electrum/gui/qml/components/wizard/WCHaveMasterKey.qml
+++ b/electrum/gui/qml/components/wizard/WCHaveMasterKey.qml
@@ -159,7 +159,6 @@ WizardComponent {
icon.source: '../../../icons/qrcode.png'
icon.height: constants.iconSizeMedium
icon.width: constants.iconSizeMedium
- scale: 1.2
onClicked: {
var dialog = app.scanDialog.createObject(app, {
hint: cosigner
diff --git a/electrum/gui/qml/components/wizard/WCImport.qml b/electrum/gui/qml/components/wizard/WCImport.qml
index 98a1942..231a7f9 100644
--- a/electrum/gui/qml/components/wizard/WCImport.qml
+++ b/electrum/gui/qml/components/wizard/WCImport.qml
@@ -69,7 +69,6 @@ WizardComponent {
icon.source: '../../../icons/qrcode.png'
icon.height: constants.iconSizeMedium
icon.width: constants.iconSizeMedium
- scale: 1.2
onClicked: {
var dialog = app.scanDialog.createObject(app, {
hint: bitcoin.isAddressList(import_ta.text)
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.