desktop icon indicating copy to clipboard operation
desktop copied to clipboard

[Bug]: Windows Explorer Shortcuts do not show instance name or URL anymore

Open SnejPro opened this issue 1 year ago • 2 comments

⚠️ Before submitting, please verify the following: ⚠️

Bug description

Windows Explorer Shortcuts do not show instance name or URL anymore. grafik

Before Update 3.13.3 the shortcuts were named: Nextcloud - <Name> @.de

Steps to reproduce

  1. Install Desktop-Client 3.13.3 on windows
  2. Add two or more Nextcloud accounts

Expected behavior

Show instance name or url to distinguish different Nextcloud accounts.

Which files are affected by this bug

Operating system

Windows

Which version of the operating system you are running.

Windows 11 Pro 23H2 Build 22631.3880

Package

Official Windows MSI

Nextcloud Server version

28 and 29

Nextcloud Desktop Client version

3.13.3

Is this bug present after an update or on a fresh install?

Updated from a minor version (ex. 3.4.2 to 3.4.4)

Are you using the Nextcloud Server Encryption module?

Encryption is Disabled

Are you using an external user-backend?

  • [X] Default internal user-backend
  • [ ] LDAP/ Active Directory
  • [ ] SSO - SAML
  • [ ] Other

Nextcloud Server logs

No response

Additional info

No response

SnejPro avatar Aug 28 '24 10:08 SnejPro

Possible commit responsible for this: https://github.com/nextcloud/desktop/commit/dbad78c5ebcf3c9a5b9387e87a4cd3bd197e0acb

SnejPro avatar Aug 28 '24 10:08 SnejPro

By the way, it would be great to have some options in the configuration to customize the names of the folders

larmarange avatar Aug 28 '24 15:08 larmarange

Hi

Possible commit responsible for this: dbad78c

This commit should display the account name in the explorer, important when you have multiple accounts (as it was before ... with Windows 10 and an old version of the client) But it doesn't display anything more in the explorer: image

Mika-6-9 avatar Sep 17 '24 15:09 Mika-6-9

#6978 Wiyh 3.13.4 doesn't solve anything

Mika-6-9 avatar Sep 17 '24 15:09 Mika-6-9

Are there any news on this? This is a highly annoying issue

SnejPro avatar Nov 10 '24 14:11 SnejPro

@camilasan As you did the changes that are causing this issue I'd like to ask you what were your reasons for this changes? With multiple Nextcloud accounts on multiple nextcloud instances I click around in file explorer everyday until I find the right folder.

I don't want to just create a PR reverting your changes and undoing work you've done. But the current situation does not work well for me either.

SnejPro avatar Jan 04 '25 10:01 SnejPro

Solved with https://github.com/nextcloud/desktop/pull/8135

SnejPro avatar May 06 '25 10:05 SnejPro

With the versions 3.16.4 and 3.16.6 the problem exists again.

Image

mackiii avatar Jun 24 '25 11:06 mackiii

With the versions 3.16.4 and 3.16.6 the problem exists again.

That was noted and I am working on it.

camilasan avatar Jun 24 '25 12:06 camilasan

It is fixed, but was not included in a release yet

It's a 3.17. milestone

SnejPro avatar Jun 24 '25 13:06 SnejPro

See: https://github.com/nextcloud/desktop/pull/8135

SnejPro avatar Jun 24 '25 13:06 SnejPro

It is fixed, but was not included in a release yet

from my tests, https://github.com/nextcloud/desktop/pull/8135 is not fixing it.

camilasan avatar Jun 24 '25 13:06 camilasan

See: #8135

@SnejPro if you run master now on Windows 10/11, do you see the 'url - user' in shortcuts?

camilasan avatar Jun 24 '25 13:06 camilasan

When I checkout the 3.16.6 source code, I don't see the changes I've made. In master I see them.

My last build with master is two months old and it worked back then. I haven't checked it again.

The new scheme only applies if you have two or more nextcloud accounts.

SnejPro avatar Jun 24 '25 13:06 SnejPro

something might have changed after https://github.com/nextcloud/desktop/pull/8135 that broke it. I am trying to figure it out...

camilasan avatar Jun 24 '25 13:06 camilasan

something might have changed after https://github.com/nextcloud/desktop/pull/8135 that broke it. I am trying to figure it out...

It's also possible that there was something different with my development setup than yours. It was my first time developing with C and I had a few difficultlies with creating a build environment.

SnejPro avatar Jun 24 '25 15:06 SnejPro

@camilasan I've built nextcloud-desktop again from current master and the shortcuts are named as they should be:

With two accounts: Image

With one account: Image

But i noticed one thing: If you add a second folder sync within one account nextcloud-client should generate a second shortcut. But how should this be named?

SnejPro avatar Jun 25 '25 08:06 SnejPro

HI You don't have the Nextcloud icons for shortcuts? For me, the simplest would be to let the user choose to name his shortcuts (settings in the GUI window)

Mika-6-9 avatar Jun 25 '25 08:06 Mika-6-9

Hi,

You don't have the Nextcloud icons for shortcuts?

This is only a limitation of my build environment (I think).

For me, the simplest would be to let the user choose to name his shortcuts (settings in the GUI window)

Yes, this would be a cool feature. But even with that, you need a default behavior. I'd love to implement this, but unfortunaly I have almost no experience in developing desktop applications and developing in C++ and no time to learn these things.

Greetings

Jens

SnejPro avatar Jun 25 '25 08:06 SnejPro

I have found where the issue is, I am working on a fix.

camilasan avatar Jun 29 '25 18:06 camilasan

If you add a second folder sync within one account nextcloud-client should generate a second shortcut. But how should this be named?

the name of the folder

camilasan avatar Jul 09 '25 16:07 camilasan

I've built nextcloud-desktop again from current master and the shortcuts are named as they should be:

If you do a clean install with one of the daylies, maybe with a test user, your changes still work?

camilasan avatar Jul 09 '25 16:07 camilasan

I've built nextcloud-desktop again from current master and the shortcuts are named as they should be:

If you do a clean install with one of the daylies, maybe with a test user, your changes still work?

I've installed the daily, created a new windows user and connected to two nextcloud accounts. It works. But it does not work when virtual files are enabled. Personally, I do not use this feature, so I did not notice it.

SnejPro avatar Jul 11 '25 09:07 SnejPro

@camilasan There it is: https://github.com/SnejPro/nc-desktop/blob/a21432982312a5031695a998e953142a78779c46/src/gui/folder.cpp#L519

SnejPro avatar Jul 11 '25 09:07 SnejPro

I've installed the daily, created a new windows user and connected to two nextcloud accounts. It works. But it does not work when virtual files are enabled. Personally, I do not use this feature, so I did not notice it.

On Windows 10 or 11?

camilasan avatar Jul 16 '25 10:07 camilasan

On Windows 10 or 11?

Windows 11

SnejPro avatar Jul 16 '25 10:07 SnejPro

Hi @camilasan ,

thanks for fixing the issues and including it in the current release. It really helps a lot.

But I have an suggestion: Shouldn't we hide the "Nextcloud - "-Part when displaying more than one instances. In my view it is an unnessecary information, especially because there already is the nextcloud icon:

Image

Greetings,

Jens

SnejPro avatar Aug 18 '25 12:08 SnejPro