Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Mathias (Author)

Pages: 1 2 3 4 [5] 6 7 8 9 ... 156
It would be nice to have a Configuration option to bypass the "are you sure you want to exit" dialog when selecting file -> exit

It is especially useful in the scenario where one has opted to minimize rather than close MC

File > Exit will do a real exit even if minimize to tray is active, so that you CAN do a real exit.

Why not just click the X button instead of digging into a menu or (Alt+F4)  that will now show a warning. (unless a file operation is running in the background)

Beta Releases / Re: v11.1 ** BETA ** (Updated 5-Apr)
« on: May 26, 2021, 07:54:55 »
Hi Mathias.

Can you tell me where I can download the zip installer for portable MultiCommander_x64_Update_(

The beta is not available as a installer yet, Final should be ready soon. Only have a couple of minor things to fix before release.

Support and Feedback / Re: Font sizes
« on: May 25, 2021, 08:16:04 »
Hello, thank you for your answer.
Of course, the first thing I did when receiving my machine was to increase the Windows standard font size. But I am afraid this is common to the whole system, and any new change that side will destabilize the whole display of the system.
After increasing the standard font size of the system, I had to increase the fonts to display each application. I began by Visual Studio, then the application for xml display needed a new version to solve this problem.
Maybe I have a memory problem, as the fonts settings are grouped, and you already indicated it to me for the files lists.
I should have said I saw only one font size before asking the question, and I see four ones now. But that seems strange, more probably my remembering lacks precision.
Now, I can read the sizes that are written down the tabs, that can be useful.
About the disks lists (Alt F1, Alt F2), are they affected by one of those four font sizes ?
For your information, it seems the texts in French, in the settings, for the labels in front of each font size, are maybe somewhat larger than those you wrote in English, so I only see the beginnings, and I have to guess what comes after that (some drop-down lists have that problem too). As there are only four font sizes, it is not a big problem as I can test all four, until I find the good one.
Do you think there is a possibility to choose the font for the menus ?
Yours faithfully
(I tried to put a screen copy, but it does not appear on the preview ; it is a png picture, it seems it should do it.)

Increase system font is not the best way to go these day. making only the font bigger will not solve everything since all UI components need to be larger.
Best way is to increase all is the Windows Scaling, this is like a zoom of all apps. 

In MC not all fonts can be change. They are also only changed for minor adjustment and style.  Changing the font in size too much and they will be cut-off in some places. Since the UI around it are not changed. 
But if Windows scaling is change then all this UI is also bigger.

The Dropdown font can't be change, It is set to the height of the UI in the place that the component is places. and that height is scaled depending on Windows Scaling settings.

(If the post is years old. please create a new post, instead of replay to it ;) )

No tooltip font size can current be changed. It is on the list. but not possible yet

Support and Feedback / Re: Font sizes
« on: May 19, 2021, 07:59:05 »
If you see bad then all program on Windows should need to be larger then you really should increase the scaling factor in Windows, This will make all UI elements in all programs larger. And MC respect this settings.

Explorer Settings are in MC.. Menu > Configurations > Explorer Panel Settings and you can change some of the fonts there. But if it is a large change you need then Windows Scaling will do a better job since more then fonts are changed.
It is settings for whats inside the Explorer Panel.  (Tab that show file system)

Support and Feedback / Re: MC can't see my Nextcloud folder
« on: May 18, 2021, 11:54:01 »
The folder might have hidden och system attribute set. Press the icon to the left of the color wheel icon on the toolbar to change so hidden files are shown.

I left my PC on over the weekend with it trying to load, and both the installed and the portable version did eventually open....but I have no idea how long it took.

I tried your suggestion, waited 10-15 minutes while it hung trying to boot, and it finally started.  Not really sure if that's quicker than before, but it's more information at least.

I took a cursory look through the logs and I found an operation that looks like it took about 12 minutes:
2021-05-10 10:44:32.725 Use extra UI thread for progress dialogs : 0
2021-05-10 10:56:47.573 Dropbox appdata folder not found : "C:\Users\**USERNAME**\AppData\Roaming\Dropbox"

I'm not sure what's going on here because I'm not using Dropbox on this PC.  I will say that I am using OneDrive, and in the drop down selection with all of my drives, there's a blank line that takes me to C:\Users\**USERNAME**\OneDrive\.  There may have been an update to OneDrive that's causing problems, maybe???

Do you have any other suggestion? Any way to disable this Dropbox check, or from it trying to load up OneDrive?

It can't have to do with dropbox. it only check if that dropbox db file exists.
There are lots of stuff happening before that point. and if you increse loglevel in core settings you see a lot more.
Like it adds all available devices ( A:-Z:), maybe some of the device are stalled network devices so windows lock up on them until they timeout.

Compile this:
Code: [Select]
#include <glob.h>
int main (void)
glob_t globbuf;
glob("*", GLOB_NOSORT, NULL, &globbuf);
return 0;
and link with standard Cygwin's DLL. Running resulting program in any directory does the trick. And I don't think that any hidden fopen() calls are involved.

Don't know what they are doing. But I think they are opening the files to get file information, while normal Windows API will get all that information from the directory entry without opening every individual file handle. The directory entry is updated when a file is closed. And all this are because of performance improvements of NTFS. Opening every single file will make a dir scan a lot slower.. Specially over the network.

Also MC is not using cygwin and will not including cygwin into MC just to break how NTFS work. This would also require MC to scan the filesystem twice. since the file information from cygwin is limited compared to what Windows has.

Alt-tabbing and trying other various thing is revealing no messagebox showing up.  Usually there would be a sound associated with those boxes when they pop up, yeah?  Because I'm not getting that sound either.  If it's really popping up behind the splash screen, I've no way to access it.  Is there an alternative solution or workaround here? or another way to find out what the error could be?

I should say that I also tried downloading the portable version and tried to run that as well, but is unfortunately doing the same thing.

Is there any other information that would be helpful?  Windows OS build numbers? Any particular settings?

Probably a configuration file is corrupt.
try rename (to .bak)
C:\Users\[**USERNAME**]\AppData\Roaming\MultiCommander\Config\ExplorerPanel.xml   ( or MultiCommander.xml )  And it wil revert that file into a default one,  rename it to .bak instead of delete then you can restore it if it was not that file

While trying to run MultiCommander (v11.0, build 2770) the popup window reports "Reading MultiCommander Configuration", but then never moves past this and hangs indefinitely.

Anyone else experience this?  I've also uploaded a .DMP file in hopes that someone can take a look and see why it's hanging.
I checked the dumpfile. it is "hanged" because a messagebox is shown because of some error. I can't se why. Why you don't see the messagebox directly might be that is some way gets shown behind the splash screen

This is now NTFS work. It is a optimization in the filesystem.. But if a forced open of the file is done before the file is completed Windows will then flush the data it has so far. However this can slow down the writing of data or make it split it into more segment making it more fragmented.

Auto force opening all files on refresh would be slow. The whole refresh process would be slower and it will also destroy the reason why NTFS is doing this. There is reason why Windows does this.

Support and Feedback / Re: Clicking multiple files for moving
« on: April 29, 2021, 07:49:18 »
I have not seen that. And I'm not able to recreate it.

What kind of mouse setup are you using in MC? Windows Explorer Styled ? or Commander Styled?  have you customized any option on how mouse/selection work your self ?

Support and Feedback / Re: Default location on new tabs?
« on: April 28, 2021, 14:25:03 »
Explorer Panel settings. under the Tab section.  There is a settings what you want the default path (and other default settings ) to be for new tabs that you create

Support and Feedback / Re: Get search result in same panel
« on: April 28, 2021, 07:48:00 »
You can create a UserDefinedCommmand of type "CustomCommand" that do

MC.FileSearch.Search PANEL=ACTIVE

Then connect that command to a menu/hotkey

Dropbox / OneDrive / GDrive is supported to show up in the Tree/Dropdown/Device toolbar (unless you in configuration selected to not show them)

It is impossible to say why it does not work.
Try to download the portable version, if that works then there might be something in the configuration that got corrupted. If portable version is also not working. Then it is likely somethings with you machine/setup that is wrong, maybe that was caused the crash you had.

Support and Feedback / Re: Error when copying to external device
« on: April 22, 2021, 15:52:43 »
Strange. Since it worked before, what have changed.  is it a new drive ?
Does the same file work if it is not the last file ?

That error is often before something goes wrong in the HW side, Like a drive or usb controller that does not support optimized writes. 
You can make it so that is used . Go to Menu > Configuration > File Operation Settings > Read/Write strategy
Then selected the profile "To External Device"  (verify that this profile is actually used when you do a copy by pressing the "Advanced >>" button that expanding the CopyTo dialog)
By checking the option "Use system Cache", the optimized write that windows can do will be disabled.

Support and Feedback / Re: Error when copying to external device
« on: April 21, 2021, 21:47:12 »
It is hard to say with so limited information. It can be many many issues that cause a write operation to fail. It can be because something else is interfering with the writing. it can be HW/Drive error or many other issue.
Is it always ?  Only large files ? small files ? does it always fail on same file or random ?
What error code is shown in the log ? (You say you included log but nothing is here.)

Support and Feedback / Re: Modal dialogs are a pain
« on: April 13, 2021, 07:53:32 »
Center position is standard and what Microsoft recommended guidelines are.  Since you get the dialog when you are doing something.
All program show them in the center of the app. Not seen any program that show them off the side. That would be very weird user experience.
You get the dialog when an error happening after you did something or if the program require input since you called a function to do something and that function require some input..

What dialogs cannot be moved ? I cannot find any dialog windows I cannot move.
Dialog being modal do not prevent them from being moved. It only prevent other windows in the same application to receive input. Since that can cause issues.

Most dialog are modal since the program require input before continues.. It depends on what it is. If the dialog was not modal then the program would be able to enter an unstable state.

In what situation does it popup dialog when you are doing something else ? MC have around 100 dialogs. But almost all of them are only shown when you do an action   to do something , and that action require some input for that action.

You write like all dialog are the problem but I can't see that. So it must be in some special situation. So if you specify in what situation it is a problem I can see if that situation can be handled in a better way

I see you have no idea what valuable tool your commander becomes in some situations.
Do you know Windows RE or WinPE?
Oh yes I know what it is. But years since I used it last.

it doesnt even provide a windows explorer and refuses after a while to execute batch scripts  or to open regedit.
I have the portable edition of the commander to access the filesystem and since it has multiscript implemented it became even more valuable because .bat or .cmd will not be executed any more...WinRE is the Windows-Recovery-Environment and everyone who uses a windows-pc  should have a rescue-system that has the commander integrated. Mounting the registry hives i could do myself using commandline. But - i mentioned it already- winRE and WinPE refuse to run anything after a few hours. But the multiscripts that are invoked by the commander still function. Thats why i sugggested it.  the commander can mount these hives and also unmount them again in a clean and safe way.
Ok so you wanted functions to mount/unmount an external registry hive. Hmm Not sure how the Windows API for that is exposed, might be easy. Might be possible to add script functions for that.

and + i am the one who downloaded the offline helop. sometimes i need it. even if its written as if noone would ever look inside and i am sure many users look inside once only, can not find what they were looking for and give up on it. Makes the built-in scriptengine become kind of dead data thats just cluttering disk space.  Then i could ask back: what for you implemented a script-engine? no one will ever use it because no one understands the manual ...
Script engine was added because I needed it, Most things in MC was added because I need it ;)

And the other thing i saw a 7z-implementation  but none of the 7z-files that i know.
Is it other names or completely recompiled? Is it just implemented to create and unpack archives?
thats kind of castration to 7z... expecially 7z.dll and 7z,exe (the commandline tool) are capable of things like disassembling iso-files / can extract files from iso/image without the need to mount it. 7z can disassemble compiled html-files (.chm, help-files) and anyway it can extract ressorces of exe & dll or rc files, it can extract files from almost any installer, cabinet, and can obtain resources and file/version/information from executeables and installer packages archives and it can split , extract, mount or unmount windows system images (wim) which makes it kind of tool that can be used when windows already refuses cooperation, the system is not ready to restart and its like : in 5 minutes i will know if i have to reinstall the whole nethood or if i ever get the current system to run again. so i will put these 2 files inzt my comander/directory to make sure 7z is available for scripting and commandline.. Are 7z.exe and 7z.dll recompiled and part of the packAGE OR NOT AVAILABLE?
You are mixing up two things 7-zip and 7z
7z is the format for the lzma/lzma2 compressed files
7-zip is their tool for 7z that also include many other formats.
MC support the 7z format.  MC cannot use everything in 7Zip and use their 7z.dll, because of license and redist issue and also their API is a messy and do not match MC.

But better support for using external packers/unpacker are planned.

OK, thanx for reply, i see the StrFind has the third parameter that i was missing,
means i probably looked at StrFindR that i did not see it.
Do you need a StrRFind function that have offset parameter on where to start ?

one of the buttons could by default show "Offline Help" and on click check if already available else create subfolder "Help" in the main folder and downloiad the pdf from your page (sorry i do not find the link right now). i think if the pc is a "multiplayer-engine", i. e. multiple users share it then the offline help, once downloaded is good enough for all users from the mainpath instead of once for every user.
If was downloaded / is available offline - the button will open the downloaded pdf and if "check for updates" in general is activated - it might as well check if the pdf with a newer date is available.

I created the button after downloading the pdf myself but i miss to have the "Show offline help" at the regular Help from Mainmenu.
 Instead of occupying a button there could be the offline-help as well working from menubar\help and ask once
"Do you want to download..." with a checkbox for "automatic update if available & automatic check if update available or check for available update the moment the help is clicked.
There is a menu option in help that take you to the page where you can download or browse the documentation.
(And almost nobody is reading the documentation anyway ;) )

And one idea for the built/in Registry-Viewer-System:

Edit registry of an offline installation to fix and repair an installation that will no more boot etc.
Sorry. I don't understand what you are talking about.
I know you can open a registry hive file from another installation in regedit.. You want to do something like that ?

Announcements and News / PDG documentation updated (April 2021)
« on: April 10, 2021, 15:32:24 »
I was finally able to get the script running again that generate the PDF documentation from the webpage. 
So the PDF documentation is now updated again and I will now be able to keep it up to date.
(However some part of the documentation is obsolete. and need rewriting. I have not yet had the time for that)

Hmm you are all over the place with many things in same post.. Next time please split them up..:)

I would like the multifunctionality of the commander implemented to customize my favourite texteditor to use it for managing all about projects using my favourite scripting language - when I see what you developed and when i look on what RJ - the developer of the texteditor - created then i think it would be win/win for all.  His "Texted" provides the environment for your scripting- and plugIn-System and even if both programs will not merge into the same window - they could dock, share the same desktop and one is for the editing and correctness in text while the other will securely will keep track on the locations where the documents are stored.

And of course it were cool to use the features like search in files to bring documents into the view and it were certainly no big deal to create syntax-highlighting and intellisense-driven autocomplete for multiscriptand if i take a look at the document viewer and look to the commanders interface i can see clearly what to develop is more fun and more important to you  ;)

Ehh That is kind of not possible. Almost entire MC in a UI Controller for embedding in another program ehh hmm sorry. that will not work. Or I dont understand what you trying to say.

And mentioning that,  i miss urgently some string functions that can work based on the count of chars and repeatedly search for matches starting from a given position again or to TrimCharsLeft or TrimCharsRight by a number that says how many to cut.

Intentionally "TrimChars" and not "String"but without a keyword  as operation that could be doable by operator signs to a string As well as AddChars
If this means left < and this means right > and this $s1 &= $s2 is regular append  $s2 to $s1 in an LTR-language  then it would be  =& in RTL/systems. Where also the characters are in opposite direction then.
    $s1<& $s2    pads   $s1 with $s2 in front, equal to $s1 = $s2 & $s1 
    $s1>& $s2   does the same as $s1 = $s1 & $s2 or s1 &= $s2
       operator   & as a symbol for concatenation
      this one /  a symbol to divide / cut /separate
 TrimCharsLeft :     $string</ $number                $s1 </ 7 truncate 7 characters on the left of $s1
 TrimCharsRight:  $string >/ $number             $s2 >/ 5 cut 5 from the right.
Sorry that will not be added, I want to keep the language simple. Not many special operators that does not existing in other languages. It is better with function calls that say what it is doing.
I want the script code to be readable. Not like pearl where you don't understand what you written after a week.

I can add special StrXXX function for different things if you have a need.

kind of a reverse operating Right$() and Left$()-functions while the Mid$() already exists - even it has only the length of 1 char but $string[4...9] were like chars "456789" : anyone instantly understands this
 $string[4(9)] says somehow we had 9 chars and start at position 4... doesnt it?
Ehh ?

Improving StrFind to StrFindNext that had 1 additional parameter to determine where to start search and return relative from starting position that were about the simple string-handling without to add more keywords.
StrFind(..) takes an offset as paramter 3 (startpos)

i also miss a way to iterate trough a string step by stepand i imagine like a "When-loop" - not really a counter-functional to "For" nor "While"  working loop that keeps repeating as long as a variable remains in a certain state and modifies a second variable as a reaction to each additional begin of iteration.
 the initial execution were to remember the value of the conditional variable and to do the operation to the second variable with the third expression not necessary math operation but appending a char. i hope this is understandeable:
When loop ?? Sorry No. no kind of loops that don't exists anywhere else. Sorry I want to keep the script language clean and easy.
I can't see the need for it, You should be able to do that with while or for.

Q: could there be global constants that are valid in all scopes of a script?
for example
Code: [Select]

@permanent -1 ->$_NOTHING_$;
a "real const" that looks different from variables, maybe mandatory ucase,
special way of assignment or leading/trailing underscore,additional trailing $...
So a readonly variable that cannot be modified.
Hmm Maybe but is there really a need for that in a simple script language like this.

Or would it be better to develop enumerations derived from a class that will only accept one assignment to each property
- if no destructor they would be perfect. eachh of the enumeration/classes were a unique object that can not be copied using "new" and the delaration of it would already give it a name. thinkeable also predefined (built-in) enumerations alike for the Messagebox-styles
Code: [Select]
@enum $_mbStyle_ {
   @var $OK=0;
   @var $OKCancel=1;
# etc.

I still have a couple of ideas but its getting to much for a first post. Anyway, happy coding you're doing great
hmm it is a simple script language.  Enum and stuff are nice but I don't like messing with the core script engine to add complicate stuff if it is not really needed.  the script engine code is already complicated and adding major new language stuff can break stuff.  The script engine code is one of the more complex parts in MC. So adding new core stuff in it is very time consuming. and script is not many users are actually using it, and when they are.. most script is very small and not that complex

One think I do plan to add is logical operators like  && (AND) || (OR)  ( so you can do "If( $varOne && $varTwo )" )

Adding new script functions is easy. And I'm more then happy to do that.. like more StrXX or other functions..

Feature Requests and Suggestions / Re: Refresh Devices
« on: April 05, 2021, 18:33:11 »
Problem is that MC is not notified by Windows that a portable devices is removed.
So to force a refresh you need to go to the portable root and do a forced refresh.
Connections to portable devices are messy. Since you are not actually accessing the filesystem of the device. You are connected to a interface in the device that are not like a filesystem.
So if you disconnect and reconnect same device.. all the references for the items that was find in first scan are invalid since each connection will generate new unique references for them, So thats why a refresh is needed.

Beta Releases / Re: v11.1 ** BETA ** (Updated 1-Apr)
« on: April 01, 2021, 13:17:18 »
New Beta out that fix the startup issue of the corrupted file. If you still have a corrupted file you need to delete or edit ExplorerPanel.xml before starting.

User Config file is located in

Delete ExplorerPanel.xml or edit it and remove everything at the bottom after the </config> tag

Pages: 1 2 3 4 [5] 6 7 8 9 ... 156