Skip to content
This repository has been archived by the owner on Feb 12, 2023. It is now read-only.

Password fields with CapsLock warning shrink vertically #3379

Closed
b4n opened this issue Jun 12, 2016 · 0 comments · Fixed by #3383
Closed

Password fields with CapsLock warning shrink vertically #3379

b4n opened this issue Jun 12, 2016 · 0 comments · Fixed by #3383
Labels
C-bug The issue contains a bug report M-ui Affected Module: User Interface

Comments

@b4n
Copy link
Contributor

b4n commented Jun 12, 2016

Brief Description

OS: Linux (Debian Sid, up-to-date as of today), under MATE desktop
qTox version: Both Nightly package from this morning (1.4.0-151-g7ca9809-1) and custom build of Git's master (645e950)
Commit hash: 7ca9809 and 645e950
Qt: 5.5.1

Reproducible: Always

Steps to reproduce
  1. Launch qTox
  2. Go to the New Profile screen (if not already the case)
  3. Hit CapsLock
Observed Behavior

The password fields shrink and its content is mostly invisible:
qtox_new_profile_2capslock

A slight variant is when CapsLock is enabled before the screen shows up: same but with small icon instead of overflowing one.
qtox_new_profile_3capslock

Expected Behavior

No shrinking, just a CapsLock warning. Here is a screenshot of the screen when CapsLock is off (and everything displays fine):
qtox_new_profile_1

Additional Info

This might be related to be running on MATE and Qt trying to look GTK, not sure.

@zetok zetok added C-bug The issue contains a bug report help wanted M-ui Affected Module: User Interface labels Jun 12, 2016
b4n added a commit to b4n/qTox that referenced this issue Jun 12, 2016
Fix altering the Line Edit widget height when the indicator is on (e.g.
when caps lock is active).

To avoid messing with the style and all the complex issues that arise
from it, use an action to display the icon inside the line edit, as it
is a built-in feature that work just fine.

Fixes qTox#3379.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
C-bug The issue contains a bug report M-ui Affected Module: User Interface
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants