Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Odd font rendering with text cursor out of position #22

Open
rgrizzell opened this issue Oct 1, 2021 · 1 comment
Open

Odd font rendering with text cursor out of position #22

rgrizzell opened this issue Oct 1, 2021 · 1 comment

Comments

@rgrizzell
Copy link

rgrizzell commented Oct 1, 2021

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

@iRomanyshyn
Copy link

iRomanyshyn commented Aug 23, 2022

Слава Україні! The same issue here, it makes me mad. I used winetricks to configure some parameters of my local wineprefix (not Snap package), probably I installed some fonts. And now I can run Winbox with my Wine which looks nice. Also, just disabling window decorations may fix this issue.

Here's how weird the issue looks like when using wine from Snap.
Screencast from 23.08.22 14:36:52.webm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants