Page 1 of 3

Hovering over icon shows zip contents but not 7z or Rar

Posted: 21 Nov 2018 23:13
by Sander Bouwhuis
When I hover over the icon of a zip file, I get a popup with the first n files of the archive.
When I hover over the icon of a 7z or Rar file I get a 'simple' info popup.

Could it be because I have 7-Zip installed as the 64-bit version?

Re: Hovering over icon shows zip contents but not 7z or Rar

Posted: 21 Nov 2018 23:21
by highend
Nope.

ZipPath7zip= in the .ini file points to?...

Re: Hovering over icon shows zip contents but not 7z or Rar

Posted: 21 Nov 2018 23:29
by Sander Bouwhuis
They are both empty.

Should I manually set the paths to 7z.exe and Unrar.exe?

Edit:
I manually added : ZipPath7zip=C:\Utilities\7-Zip\7z.exe
Now it works.

Not really user-friendly to have to do manually set it in the settings file, but I'm happy it now works.

Thanks.

Re: Hovering over icon shows zip contents but not 7z or Rar

Posted: 21 Nov 2018 23:51
by highend
Not really user-friendly
If it would have been installed into the folder the installer suggests, it would have been found automatically.
User-friendly enough imho

Re: Hovering over icon shows zip contents but not 7z or Rar

Posted: 22 Nov 2018 09:07
by admin
I think I will add them to Configuration | Colors and Styles | Templates. Tweaking is not not everybody's cup of tea... :cup:

PS: Well, given that I plan to distribute UnRAR.dll and 7z.dll with future versions, the above is not necessary...

Re: Hovering over icon shows zip contents but not 7z or Rar

Posted: 22 Nov 2018 15:40
by xyRolling
1. XYplorer can't find UnRar.exe in my system. Hover box does not work in Zip and 7z files (see attachments).
2. Hover Box doesn't fully support unicode. Preview panel same too (old problem).
3. Hover Box doesn't work in any video files which can be played in preview panel.
4. Unfortunately, the preview feature does not fully support unicode. The strange thing is that the same file (unicode filename) can be played in the preview panel, but it doesn't work in the floating preview panel (old problem).

Re: Hovering over icon shows zip contents but not 7z or Rar

Posted: 22 Nov 2018 17:00
by admin
I don't really know what you mean.

1) I cannot understand your screenshot. What is it supposed to demonstrate?

2) All of your 4 claims are wrong AFAIK.

Re: Hovering over icon shows zip contents but not 7z or Rar

Posted: 22 Nov 2018 17:29
by xyRolling
1. First, I have installed winrar, as before attachment. I type in address bar "ZipPathUnRAR=%ProgramW6432%\WinRAR\UnRAR.exe", Xyplorer responded with an error message. So Hover Box does not work for RAR and 7Z files.
2. If you try to replace any existing files (zip,rar,7z,mp4) with "いろんな踊", as a new file name. You will find what I mean.
For example:
a.zip > いろんな踊.zip
a.rar > いろんな踊.rar
a.7z > いろんな踊.7z
a.mp4 > いろんな踊.mp4 (Preview Panel work fine, Floating preview not)

Re: Hovering over icon shows zip contents but not 7z or Rar

Posted: 22 Nov 2018 17:38
by highend
I type in address bar "ZipPathUnRAR=%ProgramW6432%\WinRAR\UnRAR.exe"
And why are you doing this? oO
It's an entry in the XYplorer.ini file...

And renaming a .rar file to いろんな踊.rar doesn't change anything for displaying its content.
At least not here

Re: Hovering over icon shows zip contents but not 7z or Rar

Posted: 22 Nov 2018 17:57
by xyRolling
That should be my understanding of the error.
But why do I have installed winrar in the default path, but the hover box has no effect? (rar and 7z files)

Renaming.....
Just trying to explain my file such as "いろんな踊.mp4", the hover box has no effect, but it can be played in the preview pane, and the floating preview has no effect.
And when the archive file name is unicode, the hover box does not work.

Re: Hovering over icon shows zip contents but not 7z or Rar

Posted: 22 Nov 2018 18:04
by Sander Bouwhuis
This is the problem with having to manually edit the .ini file. Not everyone will know what to do.

Just to make it clear:
1. Go to the Settings folder (mine is in the Xyplorer directory itself, but I think it may also be somewhere in the Users folder).
2. Open the Xyplorer.ini file in an editor (e.g., Notepad)
3. Search for the word 'ZipPath'
4. Add or edit the following lines:

Code: Select all

ZipPathUnRAR=C:\Windows\Unrar.exe
ZipPath7zip=C:\Utilities\7-Zip\7z.exe
Of course, you should replace my paths with your own paths.

Re: Hovering over icon shows zip contents but not 7z or Rar

Posted: 22 Nov 2018 18:22
by xyRolling
Thank you very much.
1. C:\Program Files\WinRAR\UnRAR.exe is the correct path, and I have already modified the Xyplorer.ini content myself.
2. "ZipPath7zip=" keep blnak.
But still not work.

Screenshot:
If the file name is unicode, it will not work.

Re: Hovering over icon shows zip contents but not 7z or Rar

Posted: 22 Nov 2018 20:17
by admin
No problem here:

Re: Hovering over icon shows zip contents but not 7z or Rar

Posted: 22 Nov 2018 20:43
by xyRolling
I have prepared an additional file. Can you use it properly?
Thanks.

Re: Hovering over icon shows zip contents but not 7z or Rar

Posted: 22 Nov 2018 20:49
by admin
Yes: