Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move card window randomly closes during move process #5404

Closed
yougotborked opened this issue Dec 29, 2023 · 18 comments · Fixed by #5537
Closed

Move card window randomly closes during move process #5404

yougotborked opened this issue Dec 29, 2023 · 18 comments · Fixed by #5537
Assignees

Comments

@yougotborked
Copy link

yougotborked commented Dec 29, 2023

Describe the bug
The Move Card dialog box randomly seems to close itself

To Reproduce
Steps to reproduce the behavior:

  1. Go to any board and any card
  2. Attempt to move the card to another board

Another user on my server is also experiencing this on a windows 11 edge browser.

Expected behavior
The dialog does not close until I click cancel

Screenshots
This is a recording of me trying to move a card. I'm not clicking anything when the dialog closes itself.
card-goes-away

Client details:

  • OS: Windows 11
  • Firefox 121
  • Nextcloud 28.0.1
  • Device: desktop
Server details

Operating system: Fedora 39 running the official docker image via compose, reverse proxy with apache, postgres db.

Web server:

Database:

PHP version:

Nextcloud version: (see Nextcloud admin page)

Where did you install Nextcloud from:

Signing status:

Login as admin user into your Nextcloud and access
http://example.com/index.php/settings/integrity/failed
paste the results here.

no errors here when I did thiss

List of activated apps:

If you have access to your command line run e.g.:
sudo -u www-data php occ app:list
from within your Nextcloud installation folder

Nextcloud configuration:

If you have access to your command line run e.g.:
sudo -u www-data php occ config:list system
from within your Nextcloud installation folder

or

Insert your config.php content here
Make sure to remove all sensitive content such as passwords. (e.g. database password, passwordsalt, secret, smtp password, …)

**Are you using an external user-backend: no

Logs

Nextcloud log (data/nextcloud.log)

nothing notable during the interaction

Browser log

I don't know if this is helpful but this is what I saw while I did the action
image

@Aaron-von-Awesome
Copy link

I am experiencing the same thing. I am unable to move cards via the web UI; I have to use the Deck Android app in order to move cards to a different board.

@mattheskay
Copy link

Me too, is there any workaround if you don´t use android? The iOS apps available don´t support this function at all!

@Jason-Linux
Copy link

Jason-Linux commented Jan 5, 2024

Hi Same Things

{
    "reqId": "ZZfHqvAvP5yAm9rjstG9yAAAAA0",
    "level": 3,
    "time": "2024-01-05T09:11:07+00:00",
    "remoteAddr": "",
    "user": "",
    "app": "no app in context",
    "method": "PROPFIND",
    "url": "/remote.php/webdav",
    "message": "Error while getting file info",
    "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0",
    "version": "28.0.1.1",
    "exception": {
        "Exception": "Icewind\\SMB\\Exception\\ForbiddenException",
        "Message": "Invalid request for / (ForbiddenException)",
        "Code": 1,
        "Trace": [
            {
                "file": "/nextcloud/apps/files_external/3rdparty/icewind/smb/src/Native/NativeState.php",
                "line": 75,
                "function": "fromMap",
                "class": "Icewind\\SMB\\Exception\\Exception",
                "type": "::"
            },
            {
                "file": "/nextcloud/apps/files_external/3rdparty/icewind/smb/src/Native/NativeState.php",
                "line": 92,
                "function": "handleError",
                "class": "Icewind\\SMB\\Native\\NativeState",
                "type": "->"
            },
            {
                "file": "/nextcloud/apps/files_external/3rdparty/icewind/smb/src/Native/NativeState.php",
                "line": 351,
                "function": "testResult",
                "class": "Icewind\\SMB\\Native\\NativeState",
                "type": "->"
            },
            {
                "file": "/nextcloud/apps/files_external/3rdparty/icewind/smb/src/Native/NativeShare.php",
                "line": 305,
                "function": "getxattr",
                "class": "Icewind\\SMB\\Native\\NativeState",
                "type": "->"
            },
            {
                "file": "/nextcloud/apps/files_external/3rdparty/icewind/smb/src/Native/NativeFileInfo.php",
                "line": 43,
                "function": "getAttribute",
                "class": "Icewind\\SMB\\Native\\NativeShare",
                "type": "->"
            },
            {
                "file": "/nextcloud/apps/files_external/3rdparty/icewind/smb/src/Native/NativeFileInfo.php",
                "line": 69,
                "function": "stat",
                "class": "Icewind\\SMB\\Native\\NativeFileInfo",
                "type": "->"
            },
            {
                "file": "/nextcloud/apps/files_external/3rdparty/icewind/smb/src/Native/NativeShare.php",
                "line": 114,
                "function": "getSize",
                "class": "Icewind\\SMB\\Native\\NativeFileInfo",
                "type": "->"
            },
            {
                "file": "/nextcloud/apps/files_external/lib/Lib/Storage/SMB.php",
                "line": 201,
                "function": "stat",
                "class": "Icewind\\SMB\\Native\\NativeShare",
                "type": "->"
            },
            {
                "file": "/nextcloud/apps/files_external/lib/Lib/Storage/SMB.php",
                "line": 587,
                "function": "getFileInfo",
                "class": "OCA\\Files_External\\Lib\\Storage\\SMB",
                "type": "->"
            },
            {
                "file": "/nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php",
                "line": 596,
                "function": "getMetaData",
                "class": "OCA\\Files_External\\Lib\\Storage\\SMB",
                "type": "->"
            },
            {
                "file": "/nextcloud/lib/private/Files/Storage/Wrapper/PermissionsMask.php",
                "line": 140,
                "function": "getMetaData",
                "class": "OC\\Files\\Storage\\Wrapper\\Wrapper",
                "type": "->"
            },
            {
                "file": "/nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php",
                "line": 596,
                "function": "getMetaData",
                "class": "OC\\Files\\Storage\\Wrapper\\PermissionsMask",
                "type": "->"
            },
            {
                "file": "/nextcloud/lib/private/Files/Cache/Scanner.php",
                "line": 121,
                "function": "getMetaData",
                "class": "OC\\Files\\Storage\\Wrapper\\Wrapper",
                "type": "->"
            },
            {
                "file": "/nextcloud/lib/private/Files/Cache/Scanner.php",
                "line": 158,
                "function": "getData",
                "class": "OC\\Files\\Cache\\Scanner",
                "type": "->"
            },
            {
                "file": "/nextcloud/lib/private/Files/View.php",
                "line": 1489,
                "function": "scanFile",
                "class": "OC\\Files\\Cache\\Scanner",
                "type": "->"
            },
            {
                "file": "/nextcloud/lib/private/Files/Node/Folder.php",
                "line": 102,
                "function": "getDirectoryContent",
                "class": "OC\\Files\\View",
                "type": "->"
            },
            {
                "file": "/nextcloud/apps/dav/lib/Connector/Sabre/Directory.php",
                "line": 261,
                "function": "getDirectoryListing",
                "class": "OC\\Files\\Node\\Folder",
                "type": "->"
            },
            {
                "file": "/nextcloud/3rdparty/sabre/dav/lib/DAV/Tree.php",
                "line": 206,
                "function": "getChildren",
                "class": "OCA\\DAV\\Connector\\Sabre\\Directory",
                "type": "->"
            },
            {
                "file": "/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php",
                "line": 900,
                "function": "getChildren",
                "class": "Sabre\\DAV\\Tree",
                "type": "->"
            },
            {
                "file": "/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php",
                "line": 982,
                "function": "generatePathNodes",
                "class": "Sabre\\DAV\\Server",
                "type": "->"
            },
            {
                "file": "/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php",
                "line": 1662,
                "function": "getPropertiesIteratorForPath",
                "class": "Sabre\\DAV\\Server",
                "type": "->"
            },
            {
                "file": "/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php",
                "line": 1647,
                "function": "writeMultiStatus",
                "class": "Sabre\\DAV\\Server",
                "type": "->"
            },
            {
                "file": "/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php",
                "line": 346,
                "function": "generateMultiStatus",
                "class": "Sabre\\DAV\\Server",
                "type": "->"
            },
            {
                "file": "/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php",
                "line": 89,
                "function": "httpPropFind",
                "class": "Sabre\\DAV\\CorePlugin",
                "type": "->"
            },
            {
                "file": "/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php",
                "line": 472,
                "function": "emit",
                "class": "Sabre\\DAV\\Server",
                "type": "->"
            },
            {
                "file": "/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php",
                "line": 253,
                "function": "invokeMethod",
                "class": "Sabre\\DAV\\Server",
                "type": "->"
            },
            {
                "file": "/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php",
                "line": 321,
                "function": "start",
                "class": "Sabre\\DAV\\Server",
                "type": "->"
            },
            {
                "file": "/nextcloud/apps/dav/appinfo/v1/webdav.php",
                "line": 88,
                "function": "exec",
                "class": "Sabre\\DAV\\Server",
                "type": "->"
            },
            {
                "file": "/nextcloud/remote.php",
                "line": 172,
                "args": [
                    "/nextcloud/apps/dav/appinfo/v1/webdav.php"
                ],
                "function": "require_once"
            }
        ],
        "File": "/nextcloud/apps/files_external/3rdparty/icewind/smb/src/Exception/Exception.php",
        "Line": 44,
        "message": "Error while getting file info",
        "exception": [],
        "CustomMessage": "Error while getting file info"
    },
    "id": "6597c7b43682f"
}

I remove personnal info

@Jason-Linux
Copy link

After short time do this. same if we use firefox or chrome or edge

@sambila
Copy link

sambila commented Jan 6, 2024

Hi, I have the same issue. With Arc as brosers on Apple M1, Ventura.

@viktorix
Copy link

viktorix commented Jan 7, 2024

I just wanted to add. The modal will close automatically after about 5 seconds of being opened. You don't have to do anything. It will just close.

@camilasan
Copy link
Member

I just wanted to add. The modal will close automatically after about 5 seconds of being opened. You don't have to do anything. It will just close.

I noticed that and I tried to fill up the modal form very fast: it still closes and it does not do the move.

@resqonline
Copy link

same issue, the modal closes before I get the chance to select the stack inside a board or sometimes it even closes bfore I get the chance to select another board
tested in Firefox and Chrome under MacOS, always the same result

@bentuna
Copy link

bentuna commented Jan 12, 2024

Can confirm that. The issue appears in both the modal inside the card modal as well as outside.

@juliusknorr
Copy link
Member

@luka-nextcloud Could you have a look into that. I think this is due to the fact that the Modal was moved into the actions component

<NcModal v-if="modalShow" :title="t('deck', 'Move card to another board')" @close="modalShow=false">
which causes it to get removed once the actions hide on click.

@juliusknorr
Copy link
Member

Maybe we can use https://nextcloud-libraries.github.io/nextcloud-dialogs/functions/index.spawnDialog.html for this instead or move the modal to a top level component and trigger it with @nextcloud/event-bus events?

@github-project-automation github-project-automation bot moved this to 🧭 Planning evaluation (don't pick) in 📝 Office team Jan 18, 2024
@juliusknorr juliusknorr moved this from 🧭 Planning evaluation (don't pick) to 📄 To do (~10 entries) in 📝 Office team Jan 18, 2024
@ilsawa
Copy link

ilsawa commented Jan 18, 2024

Wow!!! I did it. I was able to move the card to another board. This can be done if you make a choice very very quickly before the move window closes itself.
You just need to treat it as a reaction speed training :P

@donty
Copy link

donty commented Jan 21, 2024

I thought it was just when moving a card but it seems to be affecting other aspects of Deck too, eg attempting to create a new card can randomly open an existing one instead depending where the mouse was from what I can tell. Sort of a big problem as we can't use it properly at all.

@chris-meyer3
Copy link

Same problem here (NC 28.0.1)

@luka-nextcloud luka-nextcloud moved this from 📄 To do (~10 entries) to 🏗️ In progress in 📝 Office team Jan 29, 2024
@PeGa
Copy link

PeGa commented Feb 3, 2024

Same problem here, NC 28.0.2. Exactly as described. In my case, might not have headshot reflexes (should I install counter-strike again to get in shape?), so I'm unable to move the card.

Edit: Adding some background;

  • OS: Linux (manjaro with Plasma)
  • Server OS: Ubuntu 20
  • Server installation: manual, from scratch. Everything was working smoothly until some weeks ago.
  • Tested in Firefox and Vivaldi, same behavior
  • It's worth to note that besides the strange behavior, the move dialog won't show correctly, is like there's a container smaller than the modal window that will put a horizontal scrollbar at the window's bottom, making the 5-second-rule even harder. Resolution's 4k with zoom at 100%, so there isn't a space issue either.
  • Calling the move dialog from the card in upcoming cards and in the original location of the card makes no difference in behavior nor aspect.

image

Edit 2: There's something weird also in the News application, that makes the rss list look all garbled. I know, I know, this isn't the place to talk about News app, I'm just saying that it's a strange coincidence that might be worth to mention.

@chris-meyer3
Copy link

Any progress on this issue? Please 'review'.
TNX

@bentuna
Copy link

bentuna commented Feb 8, 2024

The problem persists in Nextcloud 28.0.2 with Deck 1.12.1.

@github-project-automation github-project-automation bot moved this from 🏗️ In progress to ☑️ Done in 📝 Office team Feb 14, 2024
@chris-meyer3
Copy link

Fixed in 28.0.3 - TNX!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.