Qtox: Some icons appear too small

Created on 5 Apr 2018  Â·  4Comments  Â·  Source: qTox/qTox

Brief Description

OS: Debian, Ubuntu 16.04
qTox version: 1.14.1, any version since the search feature was added
toxcore: 0.2.1
…

Reproducible: Always

Steps to reproduce
  1. Press ctrl+f in chat
Observed Behavior

Search icons are too small. It also affects https://github.com/qTox/qTox/pull/5047

Expected Behavior

Search icons are normal sized.

Additional Info

qtox small icons


C-bug M-ui

All 4 comments

On one of my computers (Ubuntu 18.04 Qt 5.9.4) the buttons look normal. On another one (Ubuntu 16.04 Qt 5.5.1) it looks like above. There's some environment or dependency that's screwy.

Can't test myself but as a note:
There have been related problems in the past (see PR #4494), I guess that this was because this change in qtsvg.
Maybe one should test if using no units (default is px) instead of mm would fix this. Or one could try to scale the size (and viewBox) to some int instead of float.

Imho it is probably beneficial to remove the unnecessary metadata too.

@ezavod thanks for the suggestion, but removing the units and changing the values to integers didn't fix the problem for me.

@tox-user that's weird because the other icons seem to work as intended but thanks for trying.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dcapeletti picture dcapeletti  Â·  4Comments

ghost picture ghost  Â·  4Comments

azymohliad picture azymohliad  Â·  5Comments

ovalseven8 picture ovalseven8  Â·  6Comments

anthonybilinski picture anthonybilinski  Â·  3Comments