Puzzling failure to stack JPGs

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
terrypin
Posts: 208
Joined: Mon Mar 18, 2013 2:41 pm

Puzzling failure to stack JPGs

Post by terrypin »

A bit obscure so please bear with me...

I've recently begun using Everything instead of Windows 10 File Explorer (FE) to open folders in many cases. Coupled with the excellent Bookmarks feature (which I confess I only discovered recently!) this can often allow a more efficient workflow.

However I've just hit a snag. In FE I open JPGs and BMPs in IrfanView with the Enter key. Sometimes several selected files simultaneously. That also works exactly the same in Everything. In both cases the files are displayed on top of each other. I then quickly stack them underneath each other as follows:

* Hold the Shift key and right click the pinned IrfanView taskbar icon
* Release Shift
* Click 'Show all windows stacked'.

But sadly that doesn't work when the files have been opened from Everything.

A friend (another Everything enthusiast) has today kindly tested this - and he does get stacking in both cases.

So it points to a factor within my PC. But I'm darned if I can see what it might be. Any ideas please?
NotNull
Posts: 5461
Joined: Wed May 24, 2017 9:22 pm

Re: Puzzling failure to stack JPGs

Post by NotNull »

Warning: This message is highly speculative. In order to prevent further demonstartion of NotNull's ignorance, it will destroy itself in 10, 9, 8 ..

I *think^* this might have something to do with the "bitness" (32-bit vs. 64-bit) of your Windows and programs.
I supect you ar running a 64-bit Windows, a 32-bit Everything and I don't know which version of IrfanView.
File Explorer runs always in the same bitness as your Windows is.

Try installing 64-bit Everything AND 64-bit Irfanview.


BTW: I just tried it. What a chaos. Instead of Windows 10 .. 10 windows (luckily it wasn't Windows 2000 ;-) )
But the stacking worked (Windows, Everything and Irfaniew all 64-bit)

An alternative that worked better (for me):
- Open IrfabView. That can be done by starting the menu shortcut or by double clicking a random JPG file in Everything.
- Select your files in Everything
- Drag your selection to the running IrfanView
- Browse through your images with cursor right /left
(the original random file is gone, unless it was also in your selection)

Next time please add versions of all programs involved. Takes out a lot off guessing ...
void
Developer
Posts: 16748
Joined: Fri Oct 16, 2009 11:31 pm

Re: Puzzling failure to stack JPGs

Post by void »

You might be running Everything as an administrator. Launching images from Everything would also launch Irfanview as administrator.
Some functionality might not work in Infranview when ran as administrator.

Please try running Everything as a standard user:
  • In Everything, from the Tools menu, click Options.
  • Click the General tab on the left.
  • Check Everything service.
  • Uncheck Run as administrator.
  • Click OK.
  • Restart Everything (right click the Everything tray icon and click Exit).
To Determine if Everything is running as administrator:
  • In Everything, press Ctrl + `
This will open a debug console, at the top of the console should be a line:
IsAdmin followed by a number
0 = running as a standard user
1 = running as administrator.

To close the debug console:
  • In Everything, press Ctrl + `
terrypin
Posts: 208
Joined: Mon Mar 18, 2013 2:41 pm

Re: Puzzling failure to stack JPGs

Post by terrypin »

There's good news as a bottom line, but I'll step through exactly what I did because I'm a bit confused on a few points.

1. Everything was running. (IOW, the tray icon was present. No search window was open.)

2. Options looked like this, giving an apparent contradiction. However I noted that at this stage 'Everything Service' was unchecked.
https://www.dropbox.com/s/szfx289pwehob ... e.jpg?dl=0

3. I then followed your step: "Restart Everything (right click the Everything tray icon and click Exit)."

4. The tray icon then disappeared. (Should it?)

5. Yet Task Mgr's Details tab still showed Everything as running, and still in Admin mode.

6. I have an alternative way of launching an Everything search window so in the absence of the tray icon I used that, which displayed a search window.

7. In Options, 'Everything Service' was now enabled, while 'Run as administrator' remained unchecked. IOW, this was the configuration you recommended for standard mode.

7. However, TM now showed two entries, one running in Admin mode, the other in standard mode.
https://www.dropbox.com/s/gvm5hu4ka1irc ... s.jpg?dl=0

That remained the case when I closed the search window. Note again that this is using Details mode, with the 'Elevated' column displayed. The Processes tab showed only a single entry. I'm neither programmer nor 'techie' but I assume these two detail entries are to be expected? One in the background with some 'monitoring/waiting role? And presumably that has to be permanently elevated?

8. I then tried the IrfanView exrecise again, the first time since my attempts yesterday leading to my original post. Very pleased to find that it now worked! :)

So you were right. Yesterday I had somehow switched to running in Admin mode. Puzzling, because I thought I'd earlier switched that off, because it was generating that pesky UAC question (Do you want this program...) every time I did a search.

However, I have a suspicion that this was connected with the parallel experimenting I was doing to learn how to use command line options in the Run box to display my bookmarked searches. Best if I start a fresh thread shortly.

P.S. That KB shortcut Ctrl + ` doesn't work for me. Probably a conflict with my many others, mostly to activate my Macro Express Pro macros, and a few AutoHotKey scripts. The closest I can think of is tapping that key (under Esc on my keyboard), but without Ctrl, to close a Firefox tab. (Just typed it in that sentence and, of course, closed this tab!)

Terry, East Grinstead, UK
Win 10 Pro (64-bit)
terrypin
Posts: 208
Joined: Mon Mar 18, 2013 2:41 pm

Re: Puzzling failure to stack JPGs

Post by terrypin »

Thanks NotNull. As you see from my reply to void, the cause was inadvertently running in Admin mode. Somewhat counter-intuitive IMO. I think of that as giving extra function, not less.

I run IrfanView in 32-bit mode, as recommended for its greater versatility in using the many 32-bit plugins.

Mistakenly thought I had a sig assigned in this forum, but no, I was using a hotkey activated KB shortcut and forgot to apply it. Have now added one.

EDIT: ... but it doesn't appear to have worked! I'll add it manually, and probably get both now.

Terry, East Grinstead, UK
Win 10 Pro (64-bit)
void
Developer
Posts: 16748
Joined: Fri Oct 16, 2009 11:31 pm

Re: Puzzling failure to stack JPGs

Post by void »

Ctrl + ` doesn't work for some keyboard layouts, alternatively, to enable debug mode:
  • In Everything, type in the following search and press ENTER:
    /debug
Please make sure the Everything.exe is not set to run as administrator:
  • Right click a shortcut to Everything.exe and click Properties.
  • Click the Compatibility tab.
  • Uncheck Run this program as an administrator.
  • Click OK.
I will have to square check the run as administrator checkbox in the Everything options to indicate, that while it is not set, you are running Everything as administrator.

The Everything icon should disappear when you exit Everything.
terrypin
Posts: 208
Joined: Mon Mar 18, 2013 2:41 pm

Re: Puzzling failure to stack JPGs

Post by terrypin »

void wrote:Ctrl + ` doesn't work for some keyboard layouts, alternatively, to enable debug mode:
  • In Everything, type in the following search and press ENTER:
    /debug
Thanks. Although I thought I knew I was in standard mode (from Options, from having no UAC messages, from all working sweetly) I tried that. Only to find, as you see from this few seconds extract, that it seems to say I'm in Admin mode!
https://www.dropbox.com/s/9f1cmph1p2ui2 ... .jpg?raw=1

But won't that always be the case? As I reported, TM always has an elevated entry here unless Everything is closed down. Wouldn't TM therefore be an easy and more thorough way to check Everything's mode?

After closing that Command window I was surprised that it closed the several search windows I'd set up! Is that to be expected?
Please make sure the Everything.exe is not set to run as administrator:
etc
After re-opening a search window, Options still remained as before, i.e. Admin mode not checkmarked.
I will have to square check the run as administrator checkbox in the Everything options to indicate, that while it is not set, you are running Everything as administrator.
OK, although I confess to remaining confused. Is my current understanding correct? Namely, that in its 'waiting for a search window' state, Everything is always in Admin mode, but that the 'main search UI' can be set to either mode, with 'standard' being generally recommended?
The Everything icon should disappear when you exit Everything.
Understood.

P.S. That console stuff was largely incomprehensible to me. But it looked like it was reporting errors?

Terry, East Grinstead, UK
Wn 10 Pro (64 bit)
void
Developer
Posts: 16748
Joined: Fri Oct 16, 2009 11:31 pm

Re: Puzzling failure to stack JPGs

Post by void »

Everything
Version 1.4.1.895 (x64)
Windows NT 6.2
Processors 8
IsAdmin 1
AppData 1
Service 1
cmdline "C:\Program Files\Everything\Everything.exe" -isrunas -search ""
Thanks for the debug log.

The -isrunas command line option means Everything was run as a standard user, however the setting to run as admin is still present or Everything was run with the -admin command line option.

Could you please send both your Everything.ini files to support@voidtools.com
There is one in the same location as your Everything.exe and another in %APPDATA%\Everything

Please check the shortcut you use to run Everything, does it have the -admin command line option?

After closing that Command window I was surprised that it closed the several search windows I'd set up! Is that to be expected?
This is expected.
To close the debug console:
  • In Everything, type in the following search and press ENTER:
    /debug
OK, although I confess to remaining confused. Is my current understanding correct? Namely, that in its 'waiting for a search window' state, Everything is always in Admin mode, but that the 'main search UI' can be set to either mode, with 'standard' being generally recommended?
Everything can run as a standard user or as a an administrator.
The Everything service is always run with elevated privileges.

Everything will need admin privileges to index NTFS volumes, this can be done in two ways:
Running Everything as administrator
or
Installing the Everything Service

Standard user is the default and recommended setting for the Everything installer.

The Everything Options setting "Run as administrator" is stored in the ini setting run_ad_admin

It is either off or on, it does tell you if Everything is currently running as admin or as a standard user. I was hinting at add adding the option to show the check box as square checked when the setting does not match the current state.

When run as administrator is enabled and you launch Everything, Everything will check to see if it is currently running as administrator, if not Everything will launch a new Everything process as administrator. The first standard user process will wait for the admin process to exit.

P.S. That console stuff was largely incomprehensible to me. But it looked like it was reporting errors?
No major errors, the errors shown are Everything trying to read an offline disk.
Post Reply