Bug 497313 - Warning "Could not access device." for phone does not disappear after the user makes file transfer available
Summary: Warning "Could not access device." for phone does not disappear after the use...
Status: CONFIRMED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 24.08.3
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-11 07:02 UTC by Fernando M. Muniz
Modified: 2024-12-19 01:12 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Error/warning not disappearing after following the instructions successfully. (2.17 MB, video/x-matroska)
2024-12-11 07:02 UTC, Fernando M. Muniz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Fernando M. Muniz 2024-12-11 07:02:16 UTC
Created attachment 176516 [details]
Error/warning not disappearing after following the instructions successfully.

The error/warning should disappear once the user manages to access the phone/device.
Comment 1 TraceyC 2024-12-17 17:03:29 UTC
I am not able to produce that error with my phone in Dolphin. Can you please let us know, step by step, what you did when you say you followed the instructions? Thanks.
Comment 2 Fernando M. Muniz 2024-12-17 22:17:37 UTC
(In reply to TraceyC from comment #1)
> I am not able to produce that error with my phone in Dolphin. Can you please
> let us know, step by step, what you did when you say you followed the
> instructions? Thanks.

I've connected the phone to my notebook (by default it just charges via USB), I open the phone device, I see the message saying to activate MTP, I activate it, the phone's storage appear, but the warning doesn't disappear.
Comment 3 TraceyC 2024-12-19 01:07:51 UTC
Thanks for clarifying. That helps.
I re-tested with Plasma 6.2.4 and Dolphin 24.08.3 and I am able to reproduce the bug. I see slightly different but still non-ideal behavior in git-master.


Precondition: Set phone's default USB mode to be "No data transfer" (the text may vary, depending on the Android version)

1. open Dolphin
2. Connect the phone
3. In the notification pop up click "Open in File Manager" . A new tab opens with the device name and:
24.08.3:  tab has the reported error "Could not access device. Make sure it is unlocked, and tap "Allow" on the popup on its screen. ..."
git master:  tab has "Loading canceled" (no error)
4. In the phone, switch USB mode to File transfer - observe that the tab is not refreshed (original bug)
5. Click Open in File Manager

Actual result:
Dolphin opens a second tab with the phone name
git-master only: There are two folders with the name "internal shared storage" - one is empty, the other has the actual contents

Expected result:
Dolphin refreshes the same tab with the phone contents and no duplicate, empty folder

NEXT (same for both versions)
1. Disconnect the phone - now there is an expected warning in Dolphin "Current location changed, 'mtp:/phone-name' is no longer accessible"
2.  Make sure the phone is set to File Transfer
3. Reconnect the phone to the computer

Actual result (the same in both versions):
The warning is not removed, the file contents are not shown
In the notification pop up click "Open in File Manager" and see another new tab with the phone name, and correct contents.