From 6cacc139a64369150cd84cb326b3642aba71b656 Mon Sep 17 00:00:00 2001
From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com>
Date: Sat, 26 Jul 2025 06:41:17 +0000
Subject: [PATCH] Enable text selection for copying file information values
Co-authored-by: emako <24737061+emako@users.noreply.github.com>
---
.../QuickLook.Plugin.AppViewer/InfoPanels/ApkInfoPanel.xaml | 2 ++
.../InfoPanels/AppxInfoPanel.xaml | 6 ++++++
.../QuickLook.Plugin.AppViewer/InfoPanels/IpaInfoPanel.xaml | 1 +
QuickLook.Plugin/QuickLook.Plugin.PEViewer/PEInfoPanel.xaml | 4 ++++
4 files changed, 13 insertions(+)
diff --git a/QuickLook.Plugin/QuickLook.Plugin.AppViewer/InfoPanels/ApkInfoPanel.xaml b/QuickLook.Plugin/QuickLook.Plugin.AppViewer/InfoPanels/ApkInfoPanel.xaml
index 16ca386..43b689c 100644
--- a/QuickLook.Plugin/QuickLook.Plugin.AppViewer/InfoPanels/ApkInfoPanel.xaml
+++ b/QuickLook.Plugin/QuickLook.Plugin.AppViewer/InfoPanels/ApkInfoPanel.xaml
@@ -89,6 +89,7 @@
Padding="3"
FontSize="19"
FontWeight="SemiBold"
+ IsTextSelectionEnabled="True"
LineHeight="25"
TextTrimming="CharacterEllipsis"
TextWrapping="Wrap">
@@ -110,6 +111,7 @@
Margin="8,0,0,0"
Padding="3"
Foreground="{DynamicResource WindowTextForegroundAlternative}"
+ IsTextSelectionEnabled="True"
Text="Searching..."
TextTrimming="CharacterEllipsis"
TextWrapping="Wrap" />
diff --git a/QuickLook.Plugin/QuickLook.Plugin.AppViewer/InfoPanels/AppxInfoPanel.xaml b/QuickLook.Plugin/QuickLook.Plugin.AppViewer/InfoPanels/AppxInfoPanel.xaml
index 9898c9f..883691d 100644
--- a/QuickLook.Plugin/QuickLook.Plugin.AppViewer/InfoPanels/AppxInfoPanel.xaml
+++ b/QuickLook.Plugin/QuickLook.Plugin.AppViewer/InfoPanels/AppxInfoPanel.xaml
@@ -84,6 +84,7 @@
Padding="3"
FontSize="19"
FontWeight="SemiBold"
+ IsTextSelectionEnabled="True"
LineHeight="25"
TextTrimming="CharacterEllipsis"
TextWrapping="Wrap">
@@ -105,6 +106,7 @@
Margin="8,0,0,0"
Padding="3"
Foreground="{DynamicResource WindowTextForegroundAlternative}"
+ IsTextSelectionEnabled="True"
Text="Searching..."
TextTrimming="CharacterEllipsis"
TextWrapping="Wrap" />
@@ -121,6 +123,7 @@
Margin="8,0,0,0"
Padding="3"
Foreground="{DynamicResource WindowTextForegroundAlternative}"
+ IsTextSelectionEnabled="True"
Text="Searching..."
TextTrimming="CharacterEllipsis"
TextWrapping="Wrap" />
@@ -137,6 +140,7 @@
Margin="8,0,0,0"
Padding="3"
Foreground="{DynamicResource WindowTextForegroundAlternative}"
+ IsTextSelectionEnabled="True"
Text="Searching..."
TextTrimming="CharacterEllipsis"
TextWrapping="Wrap" />
@@ -153,6 +157,7 @@
Margin="8,0,0,0"
Padding="3"
Foreground="{DynamicResource WindowTextForegroundAlternative}"
+ IsTextSelectionEnabled="True"
Text="Calculating size..." />
diff --git a/QuickLook.Plugin/QuickLook.Plugin.AppViewer/InfoPanels/IpaInfoPanel.xaml b/QuickLook.Plugin/QuickLook.Plugin.AppViewer/InfoPanels/IpaInfoPanel.xaml
index 4820b83..2fbcab5 100644
--- a/QuickLook.Plugin/QuickLook.Plugin.AppViewer/InfoPanels/IpaInfoPanel.xaml
+++ b/QuickLook.Plugin/QuickLook.Plugin.AppViewer/InfoPanels/IpaInfoPanel.xaml
@@ -110,6 +110,7 @@
Margin="8,0,0,0"
Padding="3"
Foreground="{DynamicResource WindowTextForegroundAlternative}"
+ IsTextSelectionEnabled="True"
Text="Searching..."
TextTrimming="CharacterEllipsis"
TextWrapping="Wrap" />
diff --git a/QuickLook.Plugin/QuickLook.Plugin.PEViewer/PEInfoPanel.xaml b/QuickLook.Plugin/QuickLook.Plugin.PEViewer/PEInfoPanel.xaml
index c6fd08f..9c2a5aa 100644
--- a/QuickLook.Plugin/QuickLook.Plugin.PEViewer/PEInfoPanel.xaml
+++ b/QuickLook.Plugin/QuickLook.Plugin.PEViewer/PEInfoPanel.xaml
@@ -72,6 +72,7 @@
Padding="3"
FontSize="19"
FontWeight="SemiBold"
+ IsTextSelectionEnabled="True"
LineHeight="25"
TextTrimming="CharacterEllipsis"
TextWrapping="Wrap">
@@ -107,6 +108,7 @@
Margin="8,0,0,0"
Padding="3"
Foreground="{DynamicResource WindowTextForegroundAlternative}"
+ IsTextSelectionEnabled="True"
Text="Calculating size..." />
@@ -136,6 +139,7 @@
Margin="8,0,0,0"
Padding="3"
Foreground="{DynamicResource WindowTextForegroundAlternative}"
+ IsTextSelectionEnabled="True"
Text="Searching..."
TextTrimming="CharacterEllipsis"
TextWrapping="Wrap" />