Bug 406715 - Layer popup of "Layers Docker" look untidy.
Summary: Layer popup of "Layers Docker" look untidy.
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Usability (other bugs)
Version First Reported In: nightly build (please specify the git hash!)
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-20 17:05 UTC by Sabri Ünal
Modified: 2019-04-24 13:49 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
the screenshot of the bug (660.69 KB, image/png)
2019-04-20 17:05 UTC, Sabri Ünal
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sabri Ünal 2019-04-20 17:05:53 UTC
Created attachment 119534 [details]
the screenshot of the bug

SUMMARY

Layer popup of Layer Dockers a bit untidy. If there are two sentences they look untidy.


STEPS TO REPRODUCE
1. Open an image.
2. Keep your mouse on the layer of the image on the Docker layers.


SOFTWARE/OS VERSIONS

Krita

 Version: 4.2.0-pre-alpha (Via PPA)
 Languages: en
 Hidpi: true

Qt

  Version (compiled): 5.9.5
  Version (loaded): 5.9.5

OS Information

  Build ABI: x86_64-little_endian-lp64
  Build CPU: x86_64
  CPU: x86_64
  Kernel Type: linux
  Kernel Version: 4.15.0-48-lowlatency
  Pretty Productname: Ubuntu 18.04.2 LTS
  Product Type: ubuntu
  Product Version: 18.04


Hardware Information

  GPU Acceleration: auto
  Memory: 15923 Mb
  Number of Cores: 8
  Swap Location: /tmp

Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Scott Petrovic 2019-04-22 17:09:12 UTC
How is it supposed to look? Could you provide an example of a better way to do it.

Do you mean the entire pop-up, or just one label in the popup (the blending mode) needs to be on one line?
Comment 2 Halla Rempt 2019-04-22 17:14:38 UTC
The reporter probably is talking about the line breaks in the labels.
Comment 3 Sabri Ünal 2019-04-23 15:29:18 UTC
If you check the screenshot you see "Blending Normal Mode:" text.

Actual text is "Blending Mode: Normal", due to the linebreak the string seems like another one.
Comment 4 vanyossi 2019-04-23 17:36:36 UTC
I can confirm the same "line break" weirdness on macOS. It probably needs more space, or better line break rules.

Property: LINE WITH BREAK
value:    VALUE

OBSERVED RESULT
-----
LINE WITH  VALUE
    BREAK:
-----

Expected:
------
LINE WITH
    BREAK: VALUE
------
or (no line break)
------
LINE WITH BREAK: VALUE
------
Comment 5 Halla Rempt 2019-04-24 13:49:17 UTC
Git commit 944d2fdfda295493f7c7221051c59b991591337e by Boudewijn Rempt.
Committed on 24/04/2019 at 13:49.
Pushed by rempt into branch 'master'.

Add <nobr/> so the labels cannot be broken in the layer tooltip

M  +1    -1    plugins/dockers/layerdocker/NodeToolTip.cpp

https://invent.kde.org/kde/krita/commit/944d2fdfda295493f7c7221051c59b991591337e