[systemsettings] [Bug 471151] Paths are not entirely readable in Locations KCM

2023-08-11 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=471151

Nate Graham  changed:

   What|Removed |Added

 Status|REPORTED|RESOLVED
 Resolution|--- |UPSTREAM

--- Comment #25 from Nate Graham  ---
Wow.

In this case there are two options for where the bug could be:
- In the font itself, for not properly settings its metrics for its various
hinted states
- In Qt, for not properly deriving a size that takes into account proper hinted
metrics

Either way, it's not our bug. And to be honest, my motivation to investigate
any further is quite low given how difficult it is to encounter this issue. :)

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

[systemsettings] [Bug 471151] Paths are not entirely readable in Locations KCM

2023-08-09 Thread Patrick Silva
https://bugs.kde.org/show_bug.cgi?id=471151

--- Comment #24 from Patrick Silva  ---
Right.

By testing the default font settings and then reverting to SF Pro Display font
I found the culprit: the font hinting.

open Fonts KCM
set the SF Pro Display font
set the font hinting to "Full"
apply the changes
close System Settings
open Locations KCM

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

[systemsettings] [Bug 471151] Paths are not entirely readable in Locations KCM

2023-08-09 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=471151

--- Comment #23 from Nate Graham  ---
And to confirm, it works when using the Noto Sans font, right?

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

[systemsettings] [Bug 471151] Paths are not entirely readable in Locations KCM

2023-08-09 Thread Patrick Silva
https://bugs.kde.org/show_bug.cgi?id=471151

--- Comment #22 from Patrick Silva  ---
Created attachment 160865
  --> https://bugs.kde.org/attachment.cgi?id=160865=edit
location without accent

Same result.

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

[systemsettings] [Bug 471151] Paths are not entirely readable in Locations KCM

2023-08-09 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=471151

--- Comment #21 from Nate Graham  ---
I can't reproduce the issue when using the SF Pro Display (regular) font, and
I'm out of ideas. I suspect a weird interaction between that font's metrics and
something that Qt 6.6 does.

One final idea: does the issue reproduce for you when you use a long path that
doesn't have any accented characters? Like get rid of the "Á" in there.

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

[systemsettings] [Bug 471151] Paths are not entirely readable in Locations KCM

2023-08-08 Thread Patrick Silva
https://bugs.kde.org/show_bug.cgi?id=471151

Patrick Silva  changed:

   What|Removed |Added

 Ever confirmed|1   |0
 Status|NEEDSINFO   |REPORTED
 Resolution|WAITINGFORINFO  |---

--- Comment #20 from Patrick Silva  ---
The requested information was provided.

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

[systemsettings] [Bug 471151] Paths are not entirely readable in Locations KCM

2023-08-01 Thread Patrick Silva
https://bugs.kde.org/show_bug.cgi?id=471151

--- Comment #19 from Patrick Silva  ---
$ systemsettings kcm_desktoppaths
kf.xmlgui: cannot find .rc file "systemsettingsui.rc" for component
"systemsettings"
Using fontconfig file: "/home/stalker/.config/fontconfig/fonts.conf"
Hspell: can't open /usr/share/hspell/hebrew.wgz.sizes.
kf.sonnet.clients.hspell: HSpellDict::HSpellDict: Init failed
qt.qml.typeresolution.cycle: Cyclic dependency detected between
"file:///usr/lib/x86_64-linux-gnu/qt6/qml/org/kde/desktop/private/MobileTextActionsToolBar.qml"
and
"file:///usr/lib/x86_64-linux-gnu/qt6/qml/org/kde/desktop/private/TextFieldContextMenu.qml"
qt.qml.typeresolution.cycle: Cyclic dependency detected between
"file:///usr/lib/x86_64-linux-gnu/qt6/qml/org/kde/desktop/private/MobileTextActionsToolBar.qml"
and "file:///usr/lib/x86_64-linux-gnu/qt6/qml/org/kde/desktop/Menu.qml"
qt.qml.typeresolution.cycle: Cyclic dependency detected between
"file:///usr/lib/x86_64-linux-gnu/qt6/qml/org/kde/desktop/private/TextFieldContextMenu.qml"
and "file:///usr/lib/x86_64-linux-gnu/qt6/qml/org/kde/desktop/Menu.qml"
qt.qml.typeresolution.cycle: Cyclic dependency detected between
"file:///usr/lib/x86_64-linux-gnu/qt6/qml/org/kde/desktop/private/MobileTextActionsToolBar.qml"
and
"file:///usr/lib/x86_64-linux-gnu/qt6/qml/org/kde/desktop/private/TextFieldContextMenu.qml"
qt.qml.typeresolution.cycle: Cyclic dependency detected between
"file:///usr/lib/x86_64-linux-gnu/qt6/qml/org/kde/desktop/private/MobileTextActionsToolBar.qml"
and "file:///usr/lib/x86_64-linux-gnu/qt6/qml/org/kde/desktop/Menu.qml"
qt.qml.typeresolution.cycle: Cyclic dependency detected between
"file:///usr/lib/x86_64-linux-gnu/qt6/qml/org/kde/desktop/private/TextFieldContextMenu.qml"
and "file:///usr/lib/x86_64-linux-gnu/qt6/qml/org/kde/desktop/Menu.qml"
qt.qml.typeresolution.cycle: Cyclic dependency detected between
"file:///usr/lib/x86_64-linux-gnu/qt6/qml/org/kde/desktop/private/MobileTextActionsToolBar.qml"
and
"file:///usr/lib/x86_64-linux-gnu/qt6/qml/org/kde/desktop/private/TextFieldContextMenu.qml"
qt.qml.typeresolution.cycle: Cyclic dependency detected between
"file:///usr/lib/x86_64-linux-gnu/qt6/qml/org/kde/desktop/private/MobileTextActionsToolBar.qml"
and "file:///usr/lib/x86_64-linux-gnu/qt6/qml/org/kde/desktop/Menu.qml"
qt.qml.typeresolution.cycle: Cyclic dependency detected between
"file:///usr/lib/x86_64-linux-gnu/qt6/qml/org/kde/desktop/private/TextFieldContextMenu.qml"
and "file:///usr/lib/x86_64-linux-gnu/qt6/qml/org/kde/desktop/Menu.qml"
qml: The item SubCategoryPage_QMLTYPE_116(0x555c89cc5ea0) is already in the
PageRow
kf.coreaddons: "Could not find plugin "
kf.coreaddons: "Could not find plugin "
kf.coreaddons: "Could not find plugin "
kf.coreaddons: "Could not find plugin "
kf.coreaddons: "Could not find plugin "
kf.coreaddons: "Could not find plugin "
kf.coreaddons: "Could not find plugin "
kf.coreaddons: "Could not find plugin "
kf.coreaddons: "Could not find plugin "
kf.coreaddons: "Could not find plugin "
kf.coreaddons: "Could not find plugin "
kf.coreaddons: "Could not find plugin "
kf.coreaddons: "Could not find plugin "
kf.coreaddons: "Could not find plugin "
kf.coreaddons: "Could not find plugin "
kf.coreaddons: "Could not find plugin "
kf.coreaddons: "Could not find plugin "
kf.coreaddons: "Could not find plugin "
kf.coreaddons: "Could not find plugin "
kf.coreaddons: "Could not find plugin "
kf.coreaddons: "Could not find plugin "
kf.coreaddons: "Could not find plugin "
kf.coreaddons: "Could not find plugin "
kf.coreaddons: "Could not find plugin "
kf.coreaddons: "Could not find plugin "
kf.coreaddons: "Could not find plugin "
kf.coreaddons: "Could not find plugin "
kf.coreaddons: "Could not find plugin "
kf.coreaddons: "Could not find plugin "
kf.coreaddons: "Could not find plugin "
kf.coreaddons: "Could not find plugin "
kf.coreaddons: "Could not find plugin "
kf.coreaddons: "Could not find plugin "
kf.coreaddons: "Could not find plugin "
kf.coreaddons: "Could not find plugin "
kf.coreaddons: "Could not find plugin "
kf.coreaddons: "Could not find plugin "
kf.coreaddons: "Could not find plugin "
kf.coreaddons: "Could not find plugin "
kf.coreaddons: "Could not find plugin "
kf.coreaddons: "Could not find plugin "
kf.coreaddons: "Could not find plugin "
kf.coreaddons: "Could not find plugin "
kf.coreaddons: "Could not find plugin "
kf.coreaddons: "Could not find plugin "
kf.coreaddons: "Could not find plugin "
kf.coreaddons: "Could not find plugin "
kf.coreaddons: "Could not find plugin "
kf.coreaddons: "Could not find plugin "
kf.coreaddons: "Could not find plugin "
kf.coreaddons: "Could not find plugin "
kf.coreaddons: "Could not find plugin "
kf.coreaddons: "Could not find plugin "
kf.coreaddons: "Could not find plugin "
kf.coreaddons: "Could not find plugin "
kf.coreaddons: "Could not find plugin "
kf.coreaddons: "Could not find plugin "
kf.coreaddons: "Could not find plugin "
kf.coreaddons: "Could not find plugin "
kf.coreaddons: 

[systemsettings] [Bug 471151] Paths are not entirely readable in Locations KCM

2023-08-01 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=471151

--- Comment #18 from Nate Graham  ---
I suspect it's Qt 6.6, then.

Can you run it in a terminal window with `systemsettings kcm_desktoppaths` and
paste the output?

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

[systemsettings] [Bug 471151] Paths are not entirely readable in Locations KCM

2023-08-01 Thread Patrick Silva
https://bugs.kde.org/show_bug.cgi?id=471151

--- Comment #17 from Patrick Silva  ---
The bug was fixed after closing this report and then reapppeared, I do not know
when exactly.
Possibly after Qt 6.6.

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

[systemsettings] [Bug 471151] Paths are not entirely readable in Locations KCM

2023-08-01 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=471151

--- Comment #16 from Nate Graham  ---
I cannot reproduce the issue no matter how I try.

Did this just start happening again when you upgraded to Qt 6.6 in Neon, by any
chance? Or was it broken before Neon shipped Qt 6.6, and you're just now
reporting the issue?

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

[systemsettings] [Bug 471151] Paths are not entirely readable in Locations KCM

2023-08-01 Thread Patrick Silva
https://bugs.kde.org/show_bug.cgi?id=471151

--- Comment #15 from Patrick Silva  ---
Created attachment 160668
  --> https://bugs.kde.org/attachment.cgi?id=160668=edit
screenshot2

Desktop path is still not entirely readable.

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

[systemsettings] [Bug 471151] Paths are not entirely readable in Locations KCM

2023-08-01 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=471151

Nate Graham  changed:

   What|Removed |Added

 Resolution|--- |WAITINGFORINFO
 Status|REOPENED|NEEDSINFO

--- Comment #14 from Nate Graham  ---
Sigh. Please attach another screenshot that shows it still happening.

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

[systemsettings] [Bug 471151] Paths are not entirely readable in Locations KCM

2023-08-01 Thread Patrick Silva
https://bugs.kde.org/show_bug.cgi?id=471151

Patrick Silva  changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|FIXED   |---

--- Comment #13 from Patrick Silva  ---
This bug persists.

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

[systemsettings] [Bug 471151] Paths are not entirely readable in Locations KCM

2023-07-14 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=471151

--- Comment #12 from Nate Graham  ---
Basically my "limited to a sane value to avoid overflowing the window" from the
first commit turned out to not be so sane after all! Hopefully the new value
should be much saner.

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

[systemsettings] [Bug 471151] Paths are not entirely readable in Locations KCM

2023-07-14 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=471151

Nate Graham  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|ASSIGNED|RESOLVED
  Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
   |ma/plasma-desktop/-/commit/ |ma/plasma-desktop/-/commit/
   |d647242cf5a5884ce00f641d747 |2ead94b4841827348eb14227ca0
   |cec6497bd4d38   |1d4557b420a13

--- Comment #11 from Nate Graham  ---
Git commit 2ead94b4841827348eb14227ca01d4557b420a13 by Nate Graham.
Committed on 14/07/2023 at 18:41.
Pushed by ngraham into branch 'master'.

kcms/desktoppaths: refine text field width calculation

Instead of using a fairly crude upper width limit of half the page
width (which caused long text to get cut off with narrow windows),
make the calculation more real-world by actually seeing how much
horizontal space is available on the page in a varity of conditions:
wide and narrow view, and when the page is scrollable as well as not.

M  +19   -1kcms/desktoppaths/ui/main.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/2ead94b4841827348eb14227ca01d4557b420a13

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

[systemsettings] [Bug 471151] Paths are not entirely readable in Locations KCM

2023-07-14 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=471151

Nate Graham  changed:

   What|Removed |Added

 Status|REOPENED|ASSIGNED

--- Comment #10 from Nate Graham  ---
Aha, found the bug. It didn't actually have anything to do with the font at
all, but rather the text length relative to the page width.

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

[systemsettings] [Bug 471151] Paths are not entirely readable in Locations KCM

2023-07-11 Thread Patrick Silva
https://bugs.kde.org/show_bug.cgi?id=471151

--- Comment #9 from Patrick Silva  ---
Created attachment 160237
  --> https://bugs.kde.org/attachment.cgi?id=160237=edit
fonts

Fonts attached.

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

[systemsettings] [Bug 471151] Paths are not entirely readable in Locations KCM

2023-07-11 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=471151

--- Comment #8 from Nate Graham  ---
Where can I get that font to test it out?

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

[systemsettings] [Bug 471151] Paths are not entirely readable in Locations KCM

2023-06-30 Thread Patrick Silva
https://bugs.kde.org/show_bug.cgi?id=471151

--- Comment #7 from Patrick Silva  ---
Created attachment 15
  --> https://bugs.kde.org/attachment.cgi?id=15=edit
font settings

I'm attaching my font settings.

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

[systemsettings] [Bug 471151] Paths are not entirely readable in Locations KCM

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

--- Comment #6 from Nate Graham  ---
Fascinating. I wonder how the calculation used there could be wrong with that
string. Will investigate.

What font and font size are you using?

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

[systemsettings] [Bug 471151] Paths are not entirely readable in Locations KCM

2023-06-29 Thread Patrick Silva
https://bugs.kde.org/show_bug.cgi?id=471151

Patrick Silva  changed:

   What|Removed |Added

 Resolution|FIXED   |---
 Status|RESOLVED|REOPENED

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

[systemsettings] [Bug 471151] Paths are not entirely readable in Locations KCM

2023-06-29 Thread Patrick Silva
https://bugs.kde.org/show_bug.cgi?id=471151

--- Comment #5 from Patrick Silva  ---
Created attachment 159975
  --> https://bugs.kde.org/attachment.cgi?id=159975=edit
screenshot2

Desktop path is not entirely readable yet.

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

[systemsettings] [Bug 471151] Paths are not entirely readable in Locations KCM

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

Nate Graham  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|ASSIGNED|RESOLVED
   Version Fixed In||6.0
  Latest Commit||https://invent.kde.org/plas
   ||ma/plasma-desktop/-/commit/
   ||d647242cf5a5884ce00f641d747
   ||cec6497bd4d38

--- Comment #4 from Nate Graham  ---
Git commit d647242cf5a5884ce00f641d747cec6497bd4d38 by Nate Graham.
Committed on 21/06/2023 at 04:25.
Pushed by ngraham into branch 'master'.

kcms/desktoppaths: always perfectly fit text

Previously the text fields' widths were hardcoded to gridUnit * 10. This
was not long enough for some text. Now, the fields all share a common
width that's equal to width long enough to fit the longest piece of
text, limited to a sane value to avoid overflowing the window.
FIXED-IN: 6.0

M  +9-1kcms/desktoppaths/ui/UrlRequester.qml
M  +51   -0kcms/desktoppaths/ui/main.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/d647242cf5a5884ce00f641d747cec6497bd4d38

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

[systemsettings] [Bug 471151] Paths are not entirely readable in Locations KCM

2023-06-20 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=471151

Bug Janitor Service  changed:

   What|Removed |Added

 Status|CONFIRMED   |ASSIGNED

--- Comment #3 from Bug Janitor Service  ---
A possibly relevant merge request was started @
https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/1582

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

[systemsettings] [Bug 471151] Paths are not entirely readable in Locations KCM

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

Nate Graham  changed:

   What|Removed |Added

 CC||n...@kde.org

--- Comment #2 from Nate Graham  ---
I don't believe this is a Qt regression; it seems to be an issue caused by the
QML port in https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/1373.

Right now we're just setting the text field width to gridUnit * 10, which
adjusts with the font size, but not with the label length.

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

[systemsettings] [Bug 471151] Paths are not entirely readable in Locations KCM

2023-06-17 Thread Fushan Wen
https://bugs.kde.org/show_bug.cgi?id=471151

Fushan Wen  changed:

   What|Removed |Added

   Keywords||junior-jobs

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

[systemsettings] [Bug 471151] Paths are not entirely readable in Locations KCM

2023-06-17 Thread Fushan Wen
https://bugs.kde.org/show_bug.cgi?id=471151

Fushan Wen  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 CC||qydwhotm...@gmail.com
 Status|REPORTED|CONFIRMED

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

[systemsettings] [Bug 471151] Paths are not entirely readable in Locations KCM

2023-06-17 Thread Patrick Silva
https://bugs.kde.org/show_bug.cgi?id=471151

--- Comment #1 from Patrick Silva  ---
Created attachment 159743
  --> https://bugs.kde.org/attachment.cgi?id=159743=edit
screenshot

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

[systemsettings] [Bug 471151] Paths are not entirely readable in Locations KCM

2023-06-17 Thread Patrick Silva
https://bugs.kde.org/show_bug.cgi?id=471151

Patrick Silva  changed:

   What|Removed |Added

   Keywords||qt6

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