← Back to team overview

mudlet-makers team mailing list archive

[Bug 1432841] [NEW] Mapper changes font when changing between docked and undocked state

 

Public bug reported:

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.

** Affects: mudlet
     Importance: Medium
     Assignee: Stephen Lyons (slysven)
         Status: New

** Patch added: "Set the Mapper font to prevent font change when docking/undocking"
   https://bugs.launchpad.net/bugs/1432841/+attachment/4347389/+files/Mapper_font.patch

-- 
You received this bug notification because you are a member of Mudlet
Makers, which is subscribed to Mudlet.
https://bugs.launchpad.net/bugs/1432841

Title:
  Mapper changes font when changing between docked and undocked state

Status in Mudlet the MUD client:
  New

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mudlet/+bug/1432841/+subscriptions


Follow ups

References