PDA

View Full Version : Issues with file info on Linux


stevepjohnson
10-Dec-2007, 07:21 AM
Finally setup build 441 on Linux and trying it with my CM tool (Synergy/CM). Generally seems to be working very nicely! :)

However - noticed a couple of issues:-

- file size info at the top. I'm getting a "square" where presumably a "thousands" separator would be (see attached clip)
- file size for a symlink to a file shows the size of the symlink, not the final file! Also the date is for the symlink and not the target file.

And possibly a bit of a larger issue:
- Cirrus window jumps to the front whenever it gains focus ! This is one of the nice features of X-windows, that you can set "focus follows mouse" and just point at a window to give it focus. However, you do not want it also to spring to the front of all other windows just because your mouse passed over it !

Oh, and the Perl rules comparison gets seriously lost on large perl scripts.

Craig
10-Dec-2007, 12:30 PM
Steve,

Thanks for the feedback.

1) We'll get the file size thousands separator corrected soon. What character is used for your locale? What region/language is your system configured as?
2) That should be easy enough to change. Are there any other tweaks to symlink behavior that you think we should do?
3) We'll try to get the focus problem fixed soon. The problematic code is in the low-level widget library we're using, so it might take more testing time to verify the fix than what's available before the next release.
4) If you can submit a Perl file that shows the problem we should be able to fix it. Alternatively, if you can figure out how to fix the format yourself send us the changes and we'll include them in the next release.

stevepjohnson
11-Dec-2007, 04:54 AM
Hi Craig,


1) We'll get the file size thousands separator corrected soon. What character is used for your locale? What region/language is your system configured as?
Sorry - was going to include that in the clip; we just have "LANG=C" configured, so it shows as "US-ASCII". I'm using xfce on a Nokia-customised RHEL installation. In the xfce control panel, my current theme is showing the font as "HyGothic - Medium", but I'd expect this to have all the normal ASCII characters...


2) That should be easy enough to change. Are there any other tweaks to symlink behavior that you think we should do?
Hopefully the syscalls will do this for you, but in any testing do make sure you try symlinks to symlinks to files (ie. double-referenced or further!). I don't know if there is a limit to symlink redirections, but I know we do sometimes have a double-redirection here.


4) If you can submit a Perl file that shows the problem we should be able to fix it. Alternatively, if you can figure out how to fix the format yourself send us the changes and we'll include them in the next release.
I'll look into this some more, maybe with the next release and see what I can do.

makholm
14-Jul-2008, 01:20 AM
Hi Craig,
I don't know if there is a limit to symlink redirections, but I know we do sometimes have a double-redirection here.


/usr/include/sys/param.h:#define MAXSYMLINKS 20

/L