The copy/move modal used in file manager is not displayed correctly

mohammad reza

New member
Joined
Feb 18, 2021
Messages
1
Hello everyone
Have a nice day :)

I have a problem in copy/move files in file manager.
When I try to copy a file, a modal is displayed in the file manager. But the problem is that the full modal isn't shown and I have to manually change the height style of that element :)
I temporarily change the "div" element with the "q-dialog-wrap column q-card medium" class and then copy/move the files.
So it's a tedious job.
Or maybe I'm wrong :((

Does anyone have a better solution?
Or an idea in his mind?
Thanks in advance.
 
YES! I am having this exact issue as of recently. Not sure when exactly it started, but I know for sure that about 2 weeks ago, it was just fine.

I've taken a look at all the Ubuntu 20.04 updats that were installed since the beginning of the month:


Less:
Start-Date: 2021-04-01  06:20:25
Commandline: /usr/bin/unattended-upgrade
Upgrade: libcurl4:amd64 (7.68.0-1ubuntu2.4, 7.68.0-1ubuntu2.5), libcurl4-openssl-dev:amd64 (7.68.0-1ubuntu2.4, 7.68.0-1ubuntu2.5), curl:amd64 (7.68.0-1ubuntu2.4, 7.68.0-1ubuntu2.5)
End-Date: 2021-04-01  06:20:26

Start-Date: 2021-04-01  06:20:29
Commandline: /usr/bin/unattended-upgrade
Upgrade: libcurl3-gnutls:amd64 (7.68.0-1ubuntu2.4, 7.68.0-1ubuntu2.5)
End-Date: 2021-04-01  06:20:29

Start-Date: 2021-04-15  06:31:10
Commandline: /usr/bin/unattended-upgrade
Install: linux-image-5.4.0-71-generic:amd64 (5.4.0-71.79, automatic), linux-headers-5.4.0-71-generic:amd64 (5.4.0-71.79, automatic), linux-modules-extra-5.4.0-71-generic:amd64 (5.4.0-71.79, automatic), linux-modules-5.4.0-71-generic:amd64 (5.4.0-71.79, automatic), linux-headers-5.4.0-71:amd64 (5.4.0-71.79, automatic)
Upgrade: linux-headers-generic:amd64 (5.4.0.70.73, 5.4.0.71.74), linux-image-generic:amd64 (5.4.0.70.73, 5.4.0.71.74), linux-generic:amd64 (5.4.0.70.73, 5.4.0.71.74)
End-Date: 2021-04-15  06:32:08

Start-Date: 2021-04-15  06:32:13
Commandline: /usr/bin/unattended-upgrade
Upgrade: linux-libc-dev:amd64 (5.4.0-70.78, 5.4.0-71.79)
End-Date: 2021-04-15  06:32:13

Start-Date: 2021-04-15  06:32:18
Commandline: /usr/bin/unattended-upgrade
Upgrade: libhogweed5:amd64 (3.5.1+really3.5.1-2, 3.5.1+really3.5.1-2ubuntu0.1), libnettle7:amd64 (3.5.1+really3.5.1-2, 3.5.1+really3.5.1-2ubuntu0.1)
End-Date: 2021-04-15  06:32:19

Start-Date: 2021-04-17  06:27:33
Commandline: /usr/bin/unattended-upgrade
Install: linux-image-5.4.0-72-generic:amd64 (5.4.0-72.80, automatic), linux-modules-extra-5.4.0-72-generic:amd64 (5.4.0-72.80, automatic), linux-headers-5.4.0-72-generic:amd64 (5.4.0-72.80, automatic), linux-headers-5.4.0-72:amd64 (5.4.0-72.80, automatic), linux-modules-5.4.0-72-generic:amd64 (5.4.0-72.80, automatic)
Upgrade: linux-headers-generic:amd64 (5.4.0.71.74, 5.4.0.72.75), linux-image-generic:amd64 (5.4.0.71.74, 5.4.0.72.75), linux-generic:amd64 (5.4.0.71.74, 5.4.0.72.75)
End-Date: 2021-04-17  06:28:31

Start-Date: 2021-04-17  06:28:36
Commandline: /usr/bin/unattended-upgrade
Upgrade: linux-libc-dev:amd64 (5.4.0-71.79, 5.4.0-72.80)
End-Date: 2021-04-17  06:28:37

Start-Date: 2021-04-18  06:37:39
Commandline: /usr/bin/unattended-upgrade
Remove: linux-headers-5.4.0-70-generic:amd64 (5.4.0-70.78), linux-headers-5.4.0-70:amd64 (5.4.0-70.78)
End-Date: 2021-04-18  06:37:43

Start-Date: 2021-04-18  06:37:47
Commandline: /usr/bin/unattended-upgrade
Remove: linux-image-5.4.0-70-generic:amd64 (5.4.0-70.78), linux-modules-extra-5.4.0-70-generic:amd64 (5.4.0-70.78)
End-Date: 2021-04-18  06:37:52

Start-Date: 2021-04-18  06:37:56
Commandline: /usr/bin/unattended-upgrade
Remove: linux-modules-5.4.0-70-generic:amd64 (5.4.0-70.78)
End-Date: 2021-04-18  06:37:57

Start-Date: 2021-04-24  06:59:50
Commandline: /usr/bin/unattended-upgrade
Upgrade: distro-info-data:amd64 (0.43ubuntu1.4, 0.43ubuntu1.5)
End-Date: 2021-04-24  06:59:51
 
Confirmed that adding the following CSS fixes the issue. Appears that it just needs a height value.

CSS:
.q-dialog-wrap.medium {
    width: 700px;
    max-width: 80vw;
    height: 400px;
}

before.png

css.png

after.png



Can someone figure out why this would have suddenly began happening?
 
@mohammad reza

You can navigate to: /usr/local/directadmin/data/skins/evolution/assets/fm/css and perform fine/replace on the following:

Find:
CSS:
q-dialog-wrap.medium{width:700px;max-width:80vw}
Replace:
CSS:
q-dialog-wrap.medium{width:700px;max-width:80vw;height:500px}

Make sure that permissions of the file return to 755 afterwards to avoid any issues.
 
I had the same problem
Thanks for the tips
i change file : filemanager.ff000591.css with vim
1- login root
2- cd /usr/local/directadmin/data/skins/evolution/assets/fm/css
3- can you see all file with command (ls -a)
4- vim (file name) (my file was : filemanager.ff000591.css )
5- press (?) keyboard and type q-dialog-wrap.medium (and press enter to fild)
6- press i to edit
7- insert code (;height:80%) after ( width:700px;max-width:80vw)
8- press ESC in keyboard
9- press : in keyboard
10- type wq and enter (write and quit vim)
11- try again in file manager. don't forget CTRL+F5 for clear cache browser.
good luck
 
Last edited:
I managed to pin this down to some browser update. Had an old version of Chrome installed (89.0.4389.128) and updated just now, to the latest version on that machine (90.0.4430.85) and then the issue presented itself. Before the update, everything was fine, on multiple DA installs, across multiple servers. Now all servers showing the same behaviour.
 
If your OS supports the replace command you can simply use this:

Code:
replace ".q-dialog-wrap.medium{width:700px;max-width:80vw}" ".q-dialog-wrap.medium{width:700px;max-width:80vw;height:80%}" -- /usr/local/directadmin/data/skins/evolution/assets/fm/css/filemanager.ff000591.css
 
Back
Top