Skip to content

Commit 8606bbc

Browse files
Fix queue info dialog overflow when showing long extraction logs
Wrap dialog content in SingleChildScrollView so DVD extraction logs are scrollable instead of overflowing the dialog bounds. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent c4a5ec8 commit 8606bbc

1 file changed

Lines changed: 33 additions & 28 deletions

File tree

app/lib/views/queue_panel.dart

Lines changed: 33 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -236,34 +236,39 @@ class _QueuePanelState extends State<QueuePanel> {
236236
),
237237
],
238238
),
239-
content: Column(
240-
mainAxisSize: MainAxisSize.min,
241-
crossAxisAlignment: CrossAxisAlignment.start,
242-
children: [
243-
_InfoRow(label: 'File', value: item.filename),
244-
_InfoRow(label: 'Path', value: item.inputPath),
245-
if (item.videoInfo != null) ...[
246-
_InfoRow(label: 'Resolution', value: item.videoInfo!.resolution),
247-
_InfoRow(label: 'Frame Rate', value: item.videoInfo!.frameRateFormatted),
248-
_InfoRow(label: 'Duration', value: item.videoInfo!.durationFormatted),
249-
_InfoRow(label: 'Frames', value: '${item.videoInfo!.frameCount}'),
250-
_InfoRow(label: 'Codec', value: item.videoInfo!.codec),
251-
_InfoRow(label: 'Pixel Format', value: item.videoInfo!.pixelFormat),
252-
_InfoRow(
253-
label: 'Field Order',
254-
value: item.videoInfo!.fieldOrderDescription,
255-
),
256-
_InfoRow(
257-
label: 'Scan Type',
258-
value: item.videoInfo!.scanType.displayName,
259-
),
260-
],
261-
if (item.hasInOutRange)
262-
_InfoRow(label: 'Range', value: item.inOutRangeFormatted),
263-
_InfoRow(label: 'Status', value: _statusText(item.status)),
264-
if (item.errorMessage != null)
265-
_InfoRow(label: 'Error', value: item.errorMessage!),
266-
],
239+
content: SizedBox(
240+
width: 500,
241+
child: SingleChildScrollView(
242+
child: Column(
243+
mainAxisSize: MainAxisSize.min,
244+
crossAxisAlignment: CrossAxisAlignment.start,
245+
children: [
246+
_InfoRow(label: 'File', value: item.filename),
247+
_InfoRow(label: 'Path', value: item.inputPath),
248+
if (item.videoInfo != null) ...[
249+
_InfoRow(label: 'Resolution', value: item.videoInfo!.resolution),
250+
_InfoRow(label: 'Frame Rate', value: item.videoInfo!.frameRateFormatted),
251+
_InfoRow(label: 'Duration', value: item.videoInfo!.durationFormatted),
252+
_InfoRow(label: 'Frames', value: '${item.videoInfo!.frameCount}'),
253+
_InfoRow(label: 'Codec', value: item.videoInfo!.codec),
254+
_InfoRow(label: 'Pixel Format', value: item.videoInfo!.pixelFormat),
255+
_InfoRow(
256+
label: 'Field Order',
257+
value: item.videoInfo!.fieldOrderDescription,
258+
),
259+
_InfoRow(
260+
label: 'Scan Type',
261+
value: item.videoInfo!.scanType.displayName,
262+
),
263+
],
264+
if (item.hasInOutRange)
265+
_InfoRow(label: 'Range', value: item.inOutRangeFormatted),
266+
_InfoRow(label: 'Status', value: _statusText(item.status)),
267+
if (item.errorMessage != null)
268+
_InfoRow(label: 'Error', value: item.errorMessage!),
269+
],
270+
),
271+
),
267272
),
268273
actions: [
269274
TextButton.icon(

0 commit comments

Comments
 (0)