Skip to content

Odd font rendering with text cursor out of position #22

@rgrizzell

Description

@rgrizzell

Describe the bug
Fonts appear to be rendering too small. The text cursor is out of position. This has no functional impact as text can be modified as normal. However it is a visual bug that might be confusing and frustrating for users trying to modify existing text.

This bug is NOT an issue with the Snap package, however a workaround can be applied to the Snap to fix this bug. See additional context below.

To Reproduce
Steps to reproduce the behavior:

  1. Launch Winbox

Expected behavior
The text cursor should be at the end of the string of characters.

Screenshots
bugged

Distribution (please complete the following information):

  • Name: Ubuntu
  • Version: 20.04
  • Architecture: amd64

** snap version **

snap    2.51.7
snapd   2.51.7
series  16
ubuntu  20.04
kernel  5.11.0-37-generic

** snap info winbox **

name:      winbox
summary:   small utility that allows administration of MikroTik RouterOS
publisher: ThePanaceya
store-url: https://snapcraft.io/winbox
license:   unset
description: |
  Winbox is a small utility that allows administration of MikroTik RouterOS using a fast and simple
  GUI.
  
  Snap conatins Wine runtime and winbox client.
commands:
  - winbox
snap-id:      UdK6K4ZjRfjL0wRFh0tWGO7vPhA4Qge4
tracking:     latest/stable
refresh-date: today at 20:43 CDT
channels:
  latest/stable:    3.30 2021-09-12 (68) 36MB -
  latest/candidate: ↑                         
  latest/beta:      ↑                         
  latest/edge:      ↑                         
installed:          3.30            (68) 36MB -

** snap list winbox **

Name    Version  Rev  Tracking       Publisher    Notes
winbox  3.30     68   latest/stable  thepanaceya  -

Additional context

I was able to fix this issue by applying a registry key to a WINEPREFIX outside of the Snap.

fixed

Here's the workaround I used to achieve my results.

[HKEY_CURRENT_USER\Software\Wine\X11 Driver]
"ClientSideWithRender"="N"

Source: MikroTik Forums

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions