question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unneeded file copy dialog on clean install

See original GitHub issue

Describe your problem!

While playing testing the c:geo installation on various “out-of-the-box” (wiped) emulators I noticed a wrong behavior. After selecting a base folder the dialog for copy/move from previous base folder is shown while there is no previous base folder in that case.

How to reproduce?

  • Wipe API30 emulator
  • Build and install c:geo on it
  • Run the wizard
  • Provide permissions as requested
  • When selecting the base folder, create a new folder (my example: cgeo123) and select it as base folder
  • Confirm allowing c:geo to access this folder

Actual result after these steps?

The “change folder base” dialog is shown:

image

Expected result after these steps?

This dialog should be skipped as there is no change but the base folder was assigned for the first time.

Reproducible

Yes

c:geo Version

Current master 11.10.2021

System information

Android 11 (API30) emulator
Pixel 4

Additional Information

No response

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:11 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
Lineflyercommented, Oct 11, 2021

Maybe easiest solution is to skip the copy/move dialog in general if source folder does not contain any files/folders.

Folders are there, but no files. So the condition should probably be to skip the dialog if no files are contained.

1reaction
eddiemuccommented, Oct 11, 2021

My assumption: Reason seems to be, that on time of install the (preliminary) base folder is considered to be /user/data/0/cgeo.geocaching/files/public/BASE as this seems to be the last resort fallback already created before the SAF dialog is triggered.

Assumption is correct.

Maybe easiest solution is to skip the copy/move dialog in general if source folder does not contain any files/folders.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Copy/move dialog not displaying since last update...
So I have dutifully restarted my computer but still don't have no file copy/move progress window... It's fun, for sure, but not so...
Read more >
Windows 10 File Transfer Stuck at 99%? Fixes Are Here!
How to solve Windows 10 copying files stuck at 99%? Check this tutorial and try the ... Click PC Cleaner and install EaseUS...
Read more >
How can I delete all unversioned/ignored files/folders in my ...
Just select TortoiseSvn >> Clean up... to open this dialog. TortoiseSVN cleanup options. Share.
Read more >
Play Lunar Lander in the copy dialog on Windows - gHacks
Windows copy dialog is displayed when you copy files from one location to ... Copy Dialog Lunar Lander has a clean sheet on...
Read more >
Windows file copy dialog: Why is the estimation so... BAD?
The same is true of copying large numbers of files, as I'm sure you've noticed. It's not so much a bug as a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found