Mapper changes font when changing between docked and undocked state
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mudlet |
Opinion
|
Medium
|
Stephen Lyons |
Bug Description
Applies to 2.1 and current 3.0 previews.
When the mapper is used as a dock-able widget it inherits the font it uses from the Mudlet application when it is docked but because it becomes a free floating window when undocked it then takes on the defaults that have been set for the Qt system. If these two are not the same then there will be an obvious change when the widget is docked/undocked - this is particularly noticeable if one font is a Serif type and the other a San-Serif one. The fix that the attached patch does is to actually set the default font for the widget in the constructor which, as it is now explicitly set, overrides the changes that would otherwise be inherited from the parent which changes between the docking states.
I reckon that this cosmetic bug does not rate a setting higher than medium but another bug reviewer is free to revise that assessment when they confirm this.
Migrating issues to Github, please follow the new discussion here: https:/ /github. com/Mudlet/ Mudlet/ issues/ 501
This issue needs to be closed and there is no appropriate status, so will set it to "Opinion" just for migration purposes.