czkawka icon indicating copy to clipboard operation
czkawka copied to clipboard

Reference folder feature not working, I can still select files in the reference folder

Open Mewto7 opened this issue 1 year ago • 21 comments

Bug Description I can still select files in the reference folder

Steps to reproduce: Files in the reference folder should not be selectable. 2024-02-19_182137

System

  • Czkawka version: 6.1.0 gui
  • OS version: Windows 10 LTSC
  • Installation method: msys2 (installing using the binaries are not working for me #1208)

Mewto7 avatar Feb 19 '24 12:02 Mewto7

When reference button was selected? Before or after scan? - items from reference folders should be visible on dark row, not in normal rows.

qarmin avatar Feb 19 '24 12:02 qarmin

When reference button was selected? Before or after scan? - items from reference folders should be visible on dark row, not in normal rows.

Hello there! Nice to meet you. Thanks for this awesome tool.

Reference was selected before the scan. Should I select it afterwards? Thanks again.

Mewto7 avatar Feb 19 '24 13:02 Mewto7

No, this should work fine, when selecting button before scan. But such state as in screenshoot should be only visible when all folders are normal folders.

I think that this could be fixed already(not 100% sure, because other users reported this on Linux) - windows msys2 version not contains important bugfix so paths looks strange and could not work as expected

qarmin avatar Feb 19 '24 13:02 qarmin

No, this should work fine, when selecting button before scan. But such state as in screenshoot should be only visible when all folders are normal folders.

I think that this could be fixed already(not 100% sure, because other users reported this on Linux) - windows msys2 version not contains important bugfix so paths looks strange and could not work as expected

Looks like it is failing to determine if the reference button is set. I see that the new version is out. I will try to run that and report back.

I won't have used msys2 version but the release version isn't running for me. I made an issue here #1208

Mewto7 avatar Feb 19 '24 14:02 Mewto7

There are many reported problems with gui gtk and for most of them I could write back very simply "it works for me". - I have no way of either verifying or fixing them, so that is why a new gui is being created, which should work a lot of better on Windows/Mac.

Can you check if the problem occurs on it? It is missing a lot of features, but these are the ones it should have

https://github.com/qarmin/czkawka/releases/tag/7.0.0 - windows_krokiet.exe or windows_krokiet_console.exe

qarmin avatar Feb 19 '24 14:02 qarmin

There are many reported problems with gui gtk and for most of them I could write back very simply "it works for me". - I have no way of either verifying or fixing them, so that is why a new gui is being created, which should work a lot of better on Windows/Mac.

Can you check if the problem occurs on it? It is missing a lot of features, but these are the ones it should have

https://github.com/qarmin/czkawka/releases/tag/7.0.0 - windows_krokiet.exe or windows_krokiet_console.exe

windows_krokiet.exe gets by Defender and doesn't run at all.

On windows_krokiet_console.exe

I get this:

2024-02-19_204409

Please let me know if I can help more. Thanks.

Mewto7 avatar Feb 19 '24 14:02 Mewto7

Looks that computer have problem with graphics drivers/proper opengl handling and using software renderer should fix problem.

This is how I enable this on linux

SLINT_BACKEND=software krokiet

so probably windows will need to use this command(needs to be changed if not works)

set SLINT_BACKEND=software && start windows_krokiet_console.exe

qarmin avatar Feb 19 '24 15:02 qarmin

so probably windows will need to use this command(needs to be changed if not works)

set SLINT_BACKEND=software && start windows_krokiet_console.exe

I get this error: 2024-02-19_211206

Opening this in cmd seems to say something else with your command, but it disappears too fast for me to screenshot it.

Mewto7 avatar Feb 19 '24 15:02 Mewto7

Setting this via gui is probably the easiest option for me on windows(probably this step require to restart os, but not sure)

variable => SLINT_BACKEND value => software

https://phoenixnap.com/kb/windows-set-environment-variable#ftoc-heading-4

qarmin avatar Feb 19 '24 15:02 qarmin

Setting this via gui is probably the easiest option for me on windows(probably this step require to restart os, but not sure)

variable => SLINT_BACKEND value => software

https://phoenixnap.com/kb/windows-set-environment-variable#ftoc-heading-4

2024-02-19_213517 Like this?

Mewto7 avatar Feb 19 '24 15:02 Mewto7

Yes

qarmin avatar Feb 19 '24 15:02 qarmin

Yes

I did as you said. Restarted and the same output. I just checked the Open GL version of my MOBO. It says 2.1. Is that the issue? Note that the msys2 version worked fine for me. Can I do that somehow?

Mewto7 avatar Feb 19 '24 15:02 Mewto7

msys2 gtk version is probably compiled with different flags that dll inside zip file.

Looks that msys version of Czkawka will be updated soon - https://github.com/msys2/MINGW-packages/pull/20109

I have no idea why the software renderer doesn't work - the opengl/femtovg/shaders message means that the regular version is still trying to run

When completed - https://github.com/qarmin/czkawka/actions/runs/7962237903 - at the bottom of page, should be created artifacts with krokiet with only software renderer, which should work.

if it doesn't work, I have no idea what could work

qarmin avatar Feb 19 '24 15:02 qarmin

msys2 gtk version is probably compiled with different flags that dll inside zip file.

Yes, I guess somehow, when using that, it sets itself correctly.

Looks that msys version of Czkawka will be updated soon - msys2/MINGW-packages#20109

That is such a relief. I love this software.

I have no idea why the software renderer doesn't work - the opengl/femtovg/shaders message means that the regular version is still trying to run

It could be that my PC is very old.

When completed - https://github.com/qarmin/czkawka/actions/runs/7962237903 - at the bottom of page, should be created artifacts with krokiet with only software renderer, which should work.

I will give that a try. I will keep updating this thread.

if it doesn't work, I have no idea what could work

Thanks for helping me out. By the way, defender is blocking the software. You might want to look into that.

Mewto7 avatar Feb 19 '24 16:02 Mewto7

Binaries are unsigned so it is expected that defender and other antiviruses will show warnings, but for me the most important is that virustotal not shows any problems(except one unknown antivirus, which looks like false positive)

  • https://www.virustotal.com/gui/file/a7e92bb8a6653695bb2467c19ee576b3226e4428413f5f77fb02f1e6c38c7c96?nocache=1
  • https://www.virustotal.com/gui/file/2f270efff5db9a97aeaab1668b5dfb8c55247ba58711d078976a97a5f25e2103?nocache=1
  • https://www.virustotal.com/gui/file/63ce24d594659c48c540df3c8c0bab7b5a80d65cbda1e465cc9cdf157b22bd13?nocache=1
  • https://www.virustotal.com/gui/file/9b455e816727504446b7928cd3f5133e5cad55e41d6f8dc4913fbdb2929189d2?nocache=1 https://www.virustotal.com/gui/file/82a886eeb7b4bb0bcf56b218e0a65093b65d9ed4656bc6fe62662b6380a0a806?nocache=1

qarmin avatar Feb 19 '24 16:02 qarmin

When completed - https://github.com/qarmin/czkawka/actions/runs/7962237903 - at the bottom of page, should be created artifacts with krokiet with only software renderer, which should work.

Hey!!! I tried the last two and they work perfectly! The reference issue is gone too.

https://github.com/qarmin/czkawka/actions/runs/7962237903/artifacts/1257129444

https://github.com/qarmin/czkawka/actions/runs/7962237903/artifacts/1257129444

This is brilliant. Thank you so much, you are a lifesaver. Will this fix be updated in the main release version?

Mewto7 avatar Feb 19 '24 16:02 Mewto7

No, because this is not broken. Official binary contains two renderers - opengl(femtovg) and software renderer On linux changing between this two renderers is easy, but on windows we don't know how to do this(but this also should work)

qarmin avatar Feb 19 '24 17:02 qarmin

No, because this is not broken. Official binary contains two renderers - opengl(femtovg) and software renderer On linux changing between this two renderers is easy, but on windows we don't know how to do this(but this also should work)

I see. But the changes that you made here that makes it work for me will remain when the next version rolls around, right? That is, the next version will automatically work for me without you having to manually make the changes to it too like you did with this version, right?

Thanks for everything.

Mewto7 avatar Feb 19 '24 18:02 Mewto7

I pushed an update for msys2. you can download the artifact from relevant PR

upd.: https://github.com/msys2/MINGW-packages/actions/runs/7960469969/artifacts/1256653069

ognevny avatar Feb 20 '24 07:02 ognevny

I pushed an update for msys2. you can download the artifact from relevant PR

upd.: https://github.com/msys2/MINGW-packages/actions/runs/7960469969/artifacts/1256653069

Thanks. I just tested it. The reference folder issue appears to have been solved. I will run more tests to see if it is completely gone.

Mewto7 avatar Feb 20 '24 12:02 Mewto7

No, because this is not broken. Official binary contains two renderers - opengl(femtovg) and software renderer On linux changing between this two renderers is easy, but on windows we don't know how to do this(but this also should work)

Hello. Just to let you know, I found this: https://www.reddit.com/r/opengl/comments/183uk25/im_a_moron_who_doesnt_understand_software_what/kar56kq/

It pointed me to this software: https://fdossena.com/?p=mesa/index.frag

It has something called opengl32.dll that when placed in the same folder as Krokiet.exe, makes it run fine with the release version. The GUI is a little blurry but works perfectly with over 1600 files. I tried with Czkawka and that one didn't work though.

Edit: I sidestepped all this issues by dual booting Lubuntu. It works perfectly there.

Mewto7 avatar Feb 22 '24 17:02 Mewto7