Skip to content

"Chmod" dialog: Use screenspace better (with patch) #2557

@mc-butler

Description

@mc-butler

Important

This issue was migrated from Trac:

Origin https://midnight-commander.org/ticket/2557
Reporter bugreporter

MC's "chmod" dialog has its size hardcoded in the source -- both the overall size, and the size of the dialog's components.

The hardcoded numbers work well with the English language (see the attached screenshot "english_before.png").

They do NOT work well with many other languages (see the attached screenshot "international_before.png"; it uses German as an example). Perfectly translated strings overflow their allocated width. At the same time, the dialog leaves much blank space that stays unused.

The attached patch "mc-4.7.5.2-chmod_use_whitespace-1.patch" re-structures the "chmod" dialog's internal dimensions such that less of the dialog's area is wasted for whitespace. The dialog's outer dimensions stay untouched.

This improves the situation for non-English languages considerably (see the attached screenshot "international_after.png").

The dialog in English language still looks good (see the attached screenshot "english_after.png").

Note

Original attachments:

Metadata

Metadata

Assignees

Labels

area: coreIssues not related to a specific subsystemprio: mediumHas the potential to affect progressver: 4.7.5Reproducible in version 4.7.5

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions