Page 1 of 1

Mistake in messagebox text

Posted: Tue 27 Aug, 2013 09:45
by drummer
Hi,

The screenshot should explain the problem:
Image

Thank You for the best file manager I've ever seen in my life.

Re: Mistake in messagebox text

Posted: Tue 27 Aug, 2013 10:54
by John Doe
I think message is just incomplete.
Usually you can scroll it back with cursor keys.

Re: Mistake in messagebox text

Posted: Tue 27 Aug, 2013 11:35
by drummer
How one can know that the message could be scrolled? And even if so - why wouldn't the message box expand automatically to a good size?
It is all about usability...

Re: Mistake in messagebox text

Posted: Tue 27 Aug, 2013 11:47
by John Doe
You are right.
Please post this wish at bugtracker.

Re: Mistake in messagebox text

Posted: Tue 27 Aug, 2013 15:33
by 2useven10
Fails with volume does not contain a recognized file system. please make sure that all required file system drivers are loaded and that the volume is not corrupted.
And yes that is good issue to the bugtracker.

Re: Mistake in messagebox text

Posted: Tue 27 Aug, 2013 15:51
by Shmuel
Fails with volume does not contain a recognized file system. please make sure that all required file system drivers are loaded and that the volume is not corrupted.
2useven10
Try to feed this long line to far.Message - it handles it fine because it does line wrapping.
There is a function LF_Message in LuaFAR (far.Message is based on it), it can be copied to Far with minimal changes.

Re: Mistake in messagebox text

Posted: Tue 27 Aug, 2013 19:29
by 2useven10
Actually I am pretty sure that standard far error reporting method already have word wrapping implemented.
Probably there is some special usecase where nonstandard implementation used.

Re: Mistake in messagebox text

Posted: Tue 27 Aug, 2013 20:55
by Shmuel
2useven10 wrote:Actually I am pretty sure that standard far error reporting method already have word wrapping implemented.
Then please tell where it is in Far sources.

Re: Mistake in messagebox text

Posted: Tue 27 Aug, 2013 23:51
by 2useven10
message.cpp #343

Re: Mistake in messagebox text

Posted: Wed 28 Aug, 2013 00:12
by 2useven10
and there is 'nonstandard implementation' -- panel.cpp #959-993

Re: Mistake in messagebox text

Posted: Wed 28 Aug, 2013 06:39
by Shmuel
2useven10 wrote:message.cpp #343
Have you tested that in practice and seen line wrapping?
Please show a usage example that demonstrates wrapping of long lines.

Re: Mistake in messagebox text

Posted: Wed 28 Aug, 2013 09:19
by 2useven10
1) I've fixed somewhat related
2) Help yourself. Any Message(MSG_ERRORTYPE,...) can do that

Re: Mistake in messagebox text

Posted: Wed 28 Aug, 2013 10:03
by Shmuel
2useven10 wrote:1) I've fixed somewhat related
2) Help yourself. Any Message(MSG_ERRORTYPE,...) can do that
1. I don't see any new commits. And even if they were, we were talking about actual state of Far Manager, not about its future state.
2. No, it can't.

Re: Mistake in messagebox text

Posted: Wed 28 Aug, 2013 10:18
by DrKnS
It's not a Message, it's a Dialog.

Re: Mistake in messagebox text

Posted: Wed 28 Aug, 2013 12:09
by 2useven10
3621

@DrKnS
sure (it is the reason of 'nonstandard')

@Shmuel
Message(MSG_ERRORTYPE, ...) handles ErrorText wrapping without any changes