FreeCAD / FreeCAD/FreeCAD

Core: Notification Area should truncate messages

Open
#10,018 6 comments 0 reactions 0 assignees View on GitHub
Help wanted Mod: Core Topic: User Interface Type: Feature
Dominant language
C++
Stars
33.6k
Forks
6k
Avg merge
3d 17h
Merged PRs (30d)
196

Description

### Is there an existing issue for this?

- [X] I have searched the existing issues

### Version

0.21 (Development)

### Full version info

```shell
0.21
```

### Subproject(s) affected?

Core

### Problem description

To avoid this kind of situation :
![image](https://github.com/FreeCAD/FreeCAD/assets/19984177/6a5501d7-addf-47c5-a271-faca223888f9)

Where the notification area show giant and hard to read errors, I think the notification area should put a max size to the error message. The full sized message being visible in the report view.

So we could truncate the string to around 1 or 2 lines, then finish by '...' if it's longer than that.

### Anything else?

_No response_

### Code of Conduct

- [X] I agree to follow this project's Code of Conduct

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.