brisk
brisk copied to clipboard
can't change download location
Hello. I'm using the aur package on Arch. When trying to set the download location for a file using the file icon, it doesn't open the file picker at all, and prints the following to the terminal:
Unhandled error: RangeError (end): Invalid value: Not in inclusive range 0..60: -1
#0 RangeError.checkValidRange (dart:core/errors.dart:392)
#1 _StringBase.substring (dart:core-patch/string_patch.dart:440)
#2 _DownloadInfoDialogState.pickNewSaveLocation (package:brisk/widget/download/download_info_dialog.dart:449)
#3 _InkResponseState.handleTap (package:flutter/src/material/ink_well.dart:1203)
#4 GestureRecognizer.invokeCallback (package:flutter/src/gestures/recognizer.dart:345)
#5 TapGestureRecognizer.handleTapUp (package:flutter/src/gestures/tap.dart:737)
#6 BaseTapGestureRecognizer._checkUp (package:flutter/src/gestures/tap.dart:362)
#7 BaseTapGestureRecognizer.handlePrimaryPointer (package:flutter/src/gestures/tap.dart:293)
#8 PrimaryPointerGestureRecognizer.handleEvent (package:flutter/src/gestures/recognizer.dart:706)
#9 PointerRouter._dispatch (package:flutter/src/gestures/pointer_router.dart:97)
#10 PointerRouter._dispatchEventToRoutes.<anonymous closure> (package:flutter/src/gestures/pointer_router.dart:143)
#11 _LinkedHashMapMixin.forEach (dart:_compact_hash:764)
#12 PointerRouter._dispatchEventToRoutes (package:flutter/src/gestures/pointer_router.dart:141)
#13 PointerRouter.route (package:flutter/src/gestures/pointer_router.dart:131)
#14 GestureBinding.handleEvent (package:flutter/src/gestures/binding.dart:530)
#15 GestureBinding.dispatchEvent (package:flutter/src/gestures/binding.dart:499)
#16 RendererBinding.dispatchEvent (package:flutter/src/rendering/binding.dart:473)
#17 GestureBinding._handlePointerEventImmediately (package:flutter/src/gestures/binding.dart:437)
#18 GestureBinding.handlePointerEvent (package:flutter/src/gestures/binding.dart:394)
#19 GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:341)
#20 GestureBinding._handlePointerDataPacket (package:flutter/src/gestures/binding.dart:308)
#21 _rootRunUnary (dart:async/zone.dart:1546)
#22 _CustomZone.runUnary (dart:async/zone.dart:1429)
#23 _CustomZone.runUnaryGuarded (dart:async/zone.dart:1329)
#24 _invoke1 (dart:ui/hooks.dart:349)
#25 PlatformDispatcher._dispatchPointerDataPacket (dart:ui/platform_dispatcher.dart:467)
#26 _dispatchPointerDataPacket (dart:ui/hooks.dart:282)
Hey. I was able to replicate this issue. Will be fixed
Fixed in v2.3.8
Thanks. I think zenity needs to be added as a dependency on the AUR package you're maintaining. I still couldn't set the location till I installed it explicitly after seeing the logs.
Yes exactly I'd forgotten about that. I'll add it to the dependencies. Thanks