Mapper changes font when changing between docked and undocked state

Bug #1432841 reported by Stephen Lyons
6
This bug affects 1 person
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.

Revision history for this message
Stephen Lyons (slysven) wrote :
Revision history for this message
Vadim Peretokin (vperetokin) wrote :

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.

Changed in mudlet:
status: New → Opinion
Revision history for this message
Vadim Peretokin (vperetokin) wrote :

Migrating issues to Github, please follow the new discussion here: https://github.com/Mudlet/Mudlet/issues/521

This issue needs to be closed and there is no appropriate status, so will set it to "Opinion" just for migration purposes.

Revision history for this message
Stephen Lyons (slysven) wrote :

Deleted duplicate bug watch redirect to 521 - use the first one to: https://github.com/Mudlet/Mudlet/issues/501

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.