Files icon indicating copy to clipboard operation
Files copied to clipboard

Feature: Show phones connected via Phone Link in sidebar

Open dharmababa opened this issue 1 year ago • 14 comments

[!important] Workaround: Open %userprofile%\CrossDevice > Right click your device > Pin to sidebar

What feature or improvement do you think would benefit Files?

If the new "Show mobile device in File Explorer" setting is toggled in Windows (Settings -> Bluetooth & devices -> Mobile devices -> Manage devices), then the phone should show up in the Files sidebar by default as well.

This gives the benefit of being able to browse the phone's file system wirelessly without having to connect it over USB. It just shows up in File Explorer as long as it is nearby and paired via Bluetooth. The device is already accessible in Files if you pin the device from File Explorer.

The feature is described here: https://support.microsoft.com/en-us/topic/setting-up-and-using-your-phone-in-file-explorer-45ee7712-622c-4a9c-b9aa-a77fb145635e

Note: as of Nov 1, 2024 the feature is still being rolled out (requires update to Cross Device Experience Host via MS Store) so there is chance it won't show up right away.

Requirements

  • List folders in %userprofile%\CrossDevice under network categories on the sidebar and home page

Files Version

3.7.11

Windows Version

26100.2161

Comments

Relevant Windows setting:

Image

File Explorer view:

Image

dharmababa avatar Nov 01 '24 18:11 dharmababa

This was discussed in the Discord server, my phone appears correctly in the sidebar already 🤔

Lamparter avatar Nov 01 '24 18:11 Lamparter

Hmm interesting. I did just get the Windows feature enabled but I tried rebooting and my phone is still not showing up in Files despite being in File Explorer.

Image

dharmababa avatar Nov 01 '24 18:11 dharmababa

Files doesn't put it on the sidebar automatically, but Files can still open it. You should be able to right click and then pin it to favorites in Windows File Explorer

Josh65-2201 avatar Nov 01 '24 18:11 Josh65-2201

Files doesn't put it on the sidebar automatically, but Files can still open it. You should be able to right click and then pin it to favorites in Windows File Explorer

Ah cool, thanks that worked. I suppose the request is then to put it in the sidebar by default since that's what File Explorer does (and is discoverable for those like me who rarely go into File Explorer anymore :). Any plans to do so?

dharmababa avatar Nov 01 '24 18:11 dharmababa

Right now no, but I keep this open

Josh65-2201 avatar Nov 01 '24 18:11 Josh65-2201

It would make sense since that's the behaviour in File Explorer, I imagine it wouldn't do any harm to pin it to the sidebar by default, though I'm not sure where it would be most appropriate to put it

Lamparter avatar Nov 01 '24 19:11 Lamparter

Assuming we can detect the phone, we can create a dedicated section like what we do for WSL.

yaira2 avatar Nov 03 '24 01:11 yaira2

Does it really make sense to have a new section for one item? Even if Microsoft allows more I doubt many people will have more than 2

Josh65-2201 avatar Nov 03 '24 01:11 Josh65-2201

FYI, here's the win32 API we might want to use for this.

0x5bfa avatar Nov 03 '24 01:11 0x5bfa

Does it really make sense to have a new section for one item? Even if Microsoft allows more I doubt many people will have more than 2

What about under drives?

yaira2 avatar Nov 03 '24 02:11 yaira2

What about under drives?

FWIW macOS groups connected phones with drives but calls the group something more generic ("Locations"). Actually it also seems to include network locations optionally.

Image

(The File Explorer sidebar is such a mess that it doesn't seem like a good reference point at all :)

dharmababa avatar Nov 03 '24 02:11 dharmababa

The best place to me would be under network since they are connected as a network device. Also they are linked as a folder in %userprofile%\CrossDevice

Josh65-2201 avatar Nov 03 '24 11:11 Josh65-2201

Thanks for the feedback

yaira2 avatar Nov 03 '24 14:11 yaira2

I'd say best place to put it would be in Drives. It's considered an external device, so treating it as such (ie. external HDD) would make the most sense

IGS-GIT avatar May 11 '25 07:05 IGS-GIT