-
Notifications
You must be signed in to change notification settings - Fork 127
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
Feature Suggestions: Hidden menu w/ active key shortcuts, Option select not allowed outside image, canvas resize, remember last crop AR, save as JXL #144
Comments
Interesting ideas...
|
…, or having a keymap to IDM_RENAME, will only select the file without the extension part for easier renaming addresses one of the feature requests in #144
I pushed a fix that exhibits this behavior to add the feature in (6) |
Well, to avoid confusion, perhaps consider a new category for user commands with shortcuts only, and without any menu. Something like "User customized shortcuts", or just "User shortcuts". It could be a simple but very relevant and defining brand new feature. But I think JPEGView is somewhat limiting its potential with the current menus, which BTW are one of its best features. However, if this is considered I do think there should be a limit, like 32 or 64, or something like that. Whatever prevents the user from cluttering the configuration too much. Although, I'd bet that, once a feature like this is embraced there will be requests to upper or remove the limit. I can still work without this feature though. I do use AutoHotkey a lot.
Yes please! (to "crop to image AR").
I mentioned adding the option to JPEGView.ini to offer the new feature as optional and not impose ir to the user.
Exactly.
Makes sense. Perhaps the middle click then?
Yes, I'm using a slideshow file automatically created with a simple batch file from selected folders thru file explorer context menus. The Slideshow file is UTF-8 and characters show up correctly, but JPEGView seems to ignore any image path with foreign Unicode characters in it (for example: київ). Which is weird because the program can open them directly. I have a folder with 980 wallpapers from an Ukrainian photographer. When trying to run a Slideshow with its contents it only recognizes 124 images; the ones that happen to not contain foreign words/chars like "Дима" or "Катя". Best regards.. |
I just tested this and it works fine. Please post more info, like your ini, show the behavior in a screen capture, etc... I created a folder structure with
I fed that into a text file, and then used the /slideshow parameter, and all 4 images cycled |
After this comment I did some testing. The slideshow file is indeed read in full when saved as UTF-8+BOM and UNICODE, but fails if saved as simple UTF-8 without BOM, likely (I think) because JPEGView doesn't recognize it as UTF-8. I attach an example:
|
Dunno, but how exactly are you creating such a slideshow file? Maybe something unusual happening at this step? |
@Hrxn @sylikc I create slideshow file with a simple Cmd Dir command within an AutoHotkey script:
I tested the Slide.show text file and is recognized as UTF-8 by all editors I have available. But JPEGView for some reason just skips any path with foreign characters as I've mentioned. Now, I did try to use AutoHotkey native code to create the Slide.show text file:
That works fine. The slideshow file created is also UTF-8, but JPEGView shows all image files correctly. However, this has the caveat that takes forever to handle a huge number of files. The AHK file loop is slow to a crawl. While the CMD dir command takes only a few seconds to populate 22.000 files into the Slide.show file, the AHK code takes several minutes. Now. I've found a solution by prepending BOM to the Slide.show text file with printf:
This creates a Slide.show file as UTF-8+BOM which works fine with JPEGView. Is faster than pure AHK, and my problem is now solved. But I still think it would be best if JPEGView could handle a Slideshow file created by the Cmd Dir command output. I did consider replacing the AutoHotkey script with a PowerShell script, which is also faster than AHK, and more flexible than Cmd to handle output and file creation. But AHK is just convenient. I can easily use hotkeys to start slideshows whenever I want to. I can also use the same script to start Slideshows from Explorer context menus. Best regards!. |
@mdnava ah ha... that's where your problem lies. Your cmd.exe script, while simple, has an error. You need to add the |
I tried the /U flag and it seemed to work at first try. But it stopped working when I removed printf. The slideshow file created with the /U flag seems to be UTF-8+BOM but for some reason still fails. JPEGView still ignores any path with foreign chars.
I attach the resulting slideshow file: But keeping the printf command to add BOM solves the issue for me:
Best regards!. |
Unfortunately, I'm going to have to defer to someone else to debug this... while I know about autohotkey, I don't use it myself... I'm not quite sure how the interaction ... especially with findstr might work. I created my list with |
I understand. At first I thought it was an actual issue with JPEGView.
That's interesting. I might do some more testing later on. Or move on to PowerShell. |
I just noticed issue #142 titled "Summary: Roadmap + Feature Request + Known Issues"..
So I though I gave my thoughts and suggestions:
(Perhaps also an option in JPEGView.ini?)
» This currently works with ALT+LeftClick
Once read and considered, perhaps this ticket can be closed.
If some or all of these features are chosen they could be mentioned over at #142.
Best regards!...
The text was updated successfully, but these errors were encountered: