#965 A too long short part of an error message hides it from the "Issues" panel

None
fixed
nobody
None
1
2015-03-21
2014-04-17
Denis Bitouzé
No

Consider the following MWE :

\begin{filecontents*}{myclass.cls}
  \NeedsTeXFormat{LaTeX2e}
  \RequirePackage{xifthen}
  \LoadClass{article}
  \ClassError{myclass}{%
    foo foo foo foo foo foo foo foo foo foo foo foo foo%
    % bar bar bar bar bar bar bar bar bar bar bar bar bar bar%
  }{%
    Very long message.%
  }%
\end{filecontents*}
%
\documentclass{myclass}
\begin{document}
Bar
\end{document}

The "short" error message "foo foo..." is displayed in the "Issues"
panel. Now:
1. comment the "foo foo..." line,
2. uncomment the "bar bar..." line,
3. remove the `myclass.cls' file,
4. compile again.

Now, the "short" error message "bar bar...", a bit longer than the "foo foo..."
one, isn't displayed in anymore the "Issues" panel.

It appears that a too long "short" part of an error message hides it from the "Issues" panel.

Discussion

  • Tim Hoffmann
    Tim Hoffmann
    2014-04-22

    Works for me (see attachment).

    Which version of TXS are you using? What is the exact output in the .log file for the error message in your case?

     
    Attachments
  • I have seen the problem under linux.
    Probably you need to add more "bar" to provoke the error.

     
  • Tim Hoffmann
    Tim Hoffmann
    2014-04-22

    Fixed: hg 4397 (da4dbbb333c8)

     
  • Tim Hoffmann
    Tim Hoffmann
    2014-04-22

    • status: open --> fixed
    • Group: -->