If the malpractice alleged occurred in litigation, the legal malpractice  case may result in a "trial-within-a-trial" which delves into the facts of the case for which the client originally retained the attorney.
If a malpractice claim arises from litigation, it might lead to a separate trial focusing on the specific details of the original case the client hired the lawyer for.