[plasma-pa] [Bug 465590] Audio Volume Device name text extends outside of widget on hover if it's too long

2023-04-09 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=465590

--- Comment #7 from doncb...@gmail.com ---
What would be done to allow viewing the full name on a touch device?

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasma-pa] [Bug 465590] Audio Volume Device name text extends outside of widget on hover if it's too long

2023-03-06 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=465590

--- Comment #6 from Nate Graham  ---
Yeah scrolling faded text is generally considered horrible and hated by
everyone, so I don't think we'll be going down that route. :)

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasma-pa] [Bug 465590] Audio Volume Device name text extends outside of widget on hover if it's too long

2023-03-05 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=465590

--- Comment #5 from doncb...@gmail.com ---
(In reply to Nate Graham from comment #4)
> In this case the problem is that we show the full string on hover, and
> *that* string overflows.  So we have the standard set of options for how to
> handle  a string that doesn't fit in its current space:
> 1. Elide it and add a tooltip to see the whole text. Downsides: still can't
> see the rest of it when not hovering.
> 2. Wrap it. Downsides: can re-arrange the layout awkwardly.
> 3. Expand the space to make it always fit. Downsides: isn't always feasible,
> and can produce bad results for really long strings.
> 
> In this case 3 is not feasible and 2 would be undesirable because we don't
> want the layout to re-arrange on hover. So that leaves #1.

You're absolutely right Nate, I completely forgot to consider how unusual it
would be for the interface to rapidly rearrange itself as you scrolled through
it. Very long text (the broken variety) that was wrapped would not make it
fully unusable, but I would definitely prefer the safer single line elided if
such a breakage were to occur. I think there is a 4th option which would make
text scrollable and use a fade instead of an elide, but that really just seems
like a pain in general. Most OSes use the elide + tooltip and that seems to be
the safest way to handle unexpected values, so it gets my vote as well.

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasma-pa] [Bug 465590] Audio Volume Device name text extends outside of widget on hover if it's too long

2023-02-17 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=465590

--- Comment #4 from Nate Graham  ---
In this case the problem is that we show the full string on hover, and *that*
string overflows.  So we have the standard set of options for how to handle  a
string that doesn't fit in its current space:
1. Elide it and add a tooltip to see the whole text. Downsides: still can't see
the rest of it when not hovering.
2. Wrap it. Downsides: can re-arrange the layout awkwardly.
3. Expand the space to make it always fit. Downsides: isn't always feasible,
and can produce bad results for really long strings.

In this case 3 is not feasible and 2 would be undesirable because we don't want
the layout to re-arrange on hover. So that leaves #1.

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasma-pa] [Bug 465590] Audio Volume Device name text extends outside of widget on hover if it's too long

2023-02-15 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=465590

--- Comment #3 from doncb...@gmail.com ---
Nate, it sounds like you interpreted this bug as it failing to elide a long
string. It is already doing that correctly. The problem is that on hover, it
shows the full string, but continues off the screen instead of (perhaps)
wrapping to the next line.

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasma-pa] [Bug 465590] Audio Volume Device name text extends outside of widget on hover if it's too long

2023-02-12 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=465590

Nate Graham  changed:

   What|Removed |Added

  Component|general |applet
Product|plasmashell |plasma-pa
 Ever confirmed|0   |1
 Status|REPORTED|CONFIRMED
Summary|Audio Volume Device extends |Audio Volume Device name
   |outside of widget on hover  |text extends outside of
   |if name is too long |widget on hover if it's too
   ||long
 CC||m...@ratijas.tk,
   ||n...@kde.org,
   ||now...@gmail.com
   Target Milestone|1.0 |---

--- Comment #2 from Nate Graham  ---
Not quite since in this case no tooltip is involved.

I guess the text should elide, which is the more technically correct thing to
do instead of simply getting cut off, even though it still wouldn't be ideal
since you wouldn't be able to see the full text.

-- 
You are receiving this mail because:
You are watching all bug changes.