QPAC2 Files Foible in QPC2 on Linux.
Posted: Thu Jan 17, 2019 4:26 pm
Yes, I finally managed to get QPC working on my Linux laptop again. I deleted wine and reinstalled, still didn't work, I then installed winetricks and on running wine again, it suggested installing the win32-development package, which I did, and now it all works again. Phew.
Anyway, prior to my recent upgrade which broke QPC, I was noticing a few foibles in QPAC2's Files menu. Here are the steps to reproduce on a Linux laptop - it all just works fine on Windows. It all started after I added a sub-directory to my top-level one used as DOS1_ in QPC.
The top level DOS1_ is /home/norman/Documents/QPCStuff and the sub-directory causing me grief is /home/norman/Documents/QPCStuff/Asm.
To reproduce my foibles, Start QPC and open QPAC2's Files menu.
Press F2 and choose DOS1_ which points at the afore mentioned directory. In the files list, there can be seen everything within my top-level directory, as expected. The sub-directory named "Asm" can be seen and is indeed flagged as a directory in the Files list. If I now do a "DO" on that directory name to open it - Nothing, just a blank window. First time that happened, I nearly had a panic - where are all my bleeding files!
Now, look at the title of the Files window again - it's showing "Files dos1_asm_" instead of "Files dos1_Asm_". Why I wonder, is QPAC lower-casing my path and failing to find anything on my case sensitive Linux laptop.
The workaround is to press F2 again, and change the full path from "dos1_asm_" in lower-case, to "dos1_Asm_", and it then "just" works. (Until I go to any sub-directories lower down the tree of course.)
So I know that the QL, and Windows are not case sensitive, that's fine, but I'm not sure why QPAC needs to lower-case my directory names. It's quite happy to open files which themselves have mixed case names when I "DO" them, it's just when I "DO" a directory name that I have the problem.
Cheers,
Norm.
Anyway, prior to my recent upgrade which broke QPC, I was noticing a few foibles in QPAC2's Files menu. Here are the steps to reproduce on a Linux laptop - it all just works fine on Windows. It all started after I added a sub-directory to my top-level one used as DOS1_ in QPC.
The top level DOS1_ is /home/norman/Documents/QPCStuff and the sub-directory causing me grief is /home/norman/Documents/QPCStuff/Asm.
To reproduce my foibles, Start QPC and open QPAC2's Files menu.
Press F2 and choose DOS1_ which points at the afore mentioned directory. In the files list, there can be seen everything within my top-level directory, as expected. The sub-directory named "Asm" can be seen and is indeed flagged as a directory in the Files list. If I now do a "DO" on that directory name to open it - Nothing, just a blank window. First time that happened, I nearly had a panic - where are all my bleeding files!
Now, look at the title of the Files window again - it's showing "Files dos1_asm_" instead of "Files dos1_Asm_". Why I wonder, is QPAC lower-casing my path and failing to find anything on my case sensitive Linux laptop.
The workaround is to press F2 again, and change the full path from "dos1_asm_" in lower-case, to "dos1_Asm_", and it then "just" works. (Until I go to any sub-directories lower down the tree of course.)
So I know that the QL, and Windows are not case sensitive, that's fine, but I'm not sure why QPAC needs to lower-case my directory names. It's quite happy to open files which themselves have mixed case names when I "DO" them, it's just when I "DO" a directory name that I have the problem.
Cheers,
Norm.