[Libreoffice-bugs] [Bug 155839] When propmpted about missing hyphenation data - I should be offered a download link

2023-11-07 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=155839

--- Comment #16 from Rene Engelhard  ---
> PS - Cloph, rene - awaiting your input.

It shouldn't come to a surprise to anyone that LO shouldn't download this. It
unnecessarily duplicates stuff (probably) available as packages. (And yes, I am
against packagekit etc. installing packages, for that matter, as that's the
admin decision.)

As people already said there is hyphen-* (or however called in other distros)
and people should install them. If they miss it initially they should look for
it later.

Maybe for Windows or Mac, but definitely not for any Linux.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 155839] When propmpted about missing hyphenation data - I should be offered a download link

2023-11-07 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=155839

--- Comment #15 from Eyal Rozenberg  ---
(In reply to Tex2002ans from comment #14)
> Does the Hebrew language even hyphenate when words break across lines?

Yes, that does happen. TBH, Hebrew words are, on average, 

> (In reply to Eyal Rozenberg from comment #0)
> > It's a link to a TDF Wiki page 
> 
> Was it this page?
> 
> - https://wiki.documentfoundation.org/Language/Support

Yes, I think that's the one.

> Perhaps splitting into multiple, dedicated sections instead.

That would only mitigate, rather than resolve, the problem.

> - Explain basic instructions for fixing "missing hyphenation info" on
> Windows/Linux/Mac.

If LibreOffice can fix the lack of hyphenation patterns by downloading them,
there's no need for the user to read explanations. It's not like the user asked
to learn about hyphenation. But - this could be a second "Read More" button, as
I mentioned in an earlier comment.


PS - Cloph, rene - awaiting your input.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 155839] When propmpted about missing hyphenation data - I should be offered a download link

2023-11-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=155839

Tex2002ans  changed:

   What|Removed |Added

 CC||Tex2002ans+LibreOffice@gmai
   ||l.com

--- Comment #14 from Tex2002ans  ---
(In reply to Eyal Rozenberg from comment #0)
> Now, it's doubly a bug, because no hyphenation patterns are even _offered_
> for Hebrew, so LO is just leading the user on a wild goose chase for now.

Hmmm...

Does the Hebrew language even hyphenate when words break across lines?

Or is it like Japanese/Chinese, where hyphenation doesn't even make sense at
all:

- https://bugs.documentfoundation.org/show_bug.cgi?id=143422

(In that case, the infobar was disabled for "ja" + "zh-CN".)

(In reply to Eyal Rozenberg from comment #0)
> It's a link to a TDF Wiki page - a wiki page for _all_ language at once,
> and with a large number of links, some in a table, some not in a table;
> plus a humongous navigation bar on top of the page.

Was it this page?

- https://wiki.documentfoundation.org/Language/Support

Sounds like that page could use an overhaul for readability.

Perhaps splitting into multiple, dedicated sections instead.

1. Spellchecking
2. Grammarchecking
- Most can be offloaded to LanguageTool's site.
- The few languages with other tools (like French+Grammalecte) can be listed on
their own.
3. Hyphenation
- Hyphenation.org is the ultimate source.
4. UI
- Perhaps this can just be offloaded/pointed to Weblate.
5. Thesaurus
6. (The rest of the table's leftover columns in simple "Y/N/?" form.)

The "Hyphenation" section can then:

- Explain basic instructions for fixing "missing hyphenation info" on
Windows/Linux/Mac.

Similar to what I explain when "red squigglies" stop working for people...
because they forgot to install Spellchecking Dictionaries:

-
https://www.reddit.com/r/libreoffice/comments/15qt8rk/how_to_install_dutch_dictionary/jw6a5ht/
-
https://www.reddit.com/r/libreoffice/comments/11h5kqr/why_is_spellcheck_not_working_in_libreoffice/jati80q/
-
https://www.reddit.com/r/libreoffice/comments/udu7sm/contortions_for_spelling_in_office_libre/i6l2pay/

It's pretty much the same exact instructions.

(On Linux, it's a "hyphen-xx" package. In Windows, it's an extra checkbox
during install.)

> but something triggered a yellow notification bar when I opened
> a document (He+En+Fa content); and the bar said that Hyphenation
> patters for HE-IL were missing.

Like Mike Kaganski said, an information bar might pop up that says:

> Missing hyphenation info. Please install hyphenation package for locale 
> "en-US".
   - (Where "en-US" = the code for your specific language.)

This is triggered when you have BOTH:

1. Hyphenation Dictionaries NOT INSTALLED for that language.

2. A Format/Style in your document which has:

- Automatic "Hyphenation" enabled.

You can see this in:

- Format > Paragraph
- "Text Flow" tab.

or:

- Style > Edit Style (Alt+P)
- "Text Flow" tab.

Under Hyphenation, you'll see a checkbox for:

- Automatically

- - -

For every language... just like you install different:

- UI Languages
- Spellchecking Dictionaries
   - (To get red squigglies.)

there are also:

- Hyphenation Dictionaries

And if you haven't installed them (or they don't exist), then there's not much
LO can do besides inform with the bar!

And like Mike Kaganski said, each OS would require slightly different
instructions/packages.

This is where the Wiki page could be a good guide!

- - -

(In reply to Mike Kaganski from comment #8)
> (2) I generally dislike, that the only thing in *UI* points to the
> *extensions* site ( https://extensions.libreoffice.org/dictionaries/ ),
> where there are lots of *unmaintained* third-party extensions, while for
> *most* cases, the distribution itself contains a (not installed) package for
> the needed language, and it should be the first thing to suggest.

Yes, full agree.

Almost always, it's because someone forgot to:

- Install the package (Linux)
- Check an optional box during install (Windows / Mac[?])

I would personally rank them like this:

1. LO Wiki
- This can point you to:
--- Windows-/Linux-/Mac-specific instructions
--- Distro-specific packages
- + more resources.
--- Like where to grab the proper .tex file + LO folder.
--- + explain Manual Install.
2. Hyphenation.org
- Which is the ultimate Hyphenation Dictionary resource.
- These are where all the latest patterns for each language are.
3. LO Extensions site
- (Some of these can be linked in the Wiki, but I wouldn't go promoting them
directly.)
- Like Mike said, many of these are old/unmaintained.
- Better bet would be to:
--- Install the packages from distro or install latest LO.
--- Grab latest Hyphenation Dictionaries directly from Hyphenation.org.

(In reply to Heiko Tietze from comment #12)
> > (3) Dictionaries do not necessarily include 

[Libreoffice-bugs] [Bug 155839] When propmpted about missing hyphenation data - I should be offered a download link

2023-08-24 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=155839

Mike Kaganski  changed:

   What|Removed |Added

   See Also||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=14
   ||2926

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 155839] When propmpted about missing hyphenation data - I should be offered a download link

2023-07-14 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=155839

Heiko Tietze  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 CC|libreoffice-ux-advise@lists |heiko.tietze@documentfounda
   |.freedesktop.org|tion.org
   Keywords|needsUXEval |
 Status|UNCONFIRMED |NEEDINFO

--- Comment #13 from Heiko Tietze  ---
(In reply to Eyal Rozenberg from comment #11)
> Fair enough, let's see whether cloph / rene can shed light on what's
> possible.

=> NEEDINFO

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 155839] When propmpted about missing hyphenation data - I should be offered a download link

2023-06-19 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=155839

--- Comment #12 from Heiko Tietze  ---
(In reply to Mike Kaganski from comment #8)
> (1) (unrelated) somehow, this (and same link in EditModules) does not work
> for me in Version: 7.5.4.2 
This should be fixed!

> (2) ...there are lots of *unmaintained* third-party extensions, while for
> *most* cases, the distribution itself contains a (not installed) package for
> the needed language, and it should be the first thing to suggest.
The idea of the extension site is to have the community maintain 3rd party
content. Meaning to report packages that are not up to date.

> (3) Dictionaries do not necessarily include hyphenation data...
That's indeed unfortunate but I see no way around. Currently we just add the
wiki step in between the procedure.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 155839] When propmpted about missing hyphenation data - I should be offered a download link

2023-06-17 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=155839

--- Comment #11 from Eyal Rozenberg  ---
(In reply to Mike Kaganski from comment #10)
> especially in the presence of comment 4 and comment 5, etc. ;)

Fair enough, let's see whether cloph / rene can shed light on what's possible.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 155839] When propmpted about missing hyphenation data - I should be offered a download link

2023-06-17 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=155839

--- Comment #10 from Mike Kaganski  ---
(In reply to Eyal Rozenberg from comment #9)
> So, not the general problem, ...

This "let us only focus on built-in set of hyphenation data" wasn't
communicated clearly enough from the start; if it were, then you wouldn't feel
like there is

> the insistence on not doing that or the claim that we can't

especially in the presence of comment 4 and comment 5, etc. ;)

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 155839] When propmpted about missing hyphenation data - I should be offered a download link

2023-06-16 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=155839

Eyal Rozenberg  changed:

   What|Removed |Added

 CC||eyalr...@gmx.com
 Blocks|112812  |119352


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=112812
[Bug 112812] [META] Hebrew language-specific RTL issues
https://bugs.documentfoundation.org/show_bug.cgi?id=119352
[Bug 119352] [META] Language issues
-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 155839] When propmpted about missing hyphenation data - I should be offered a download link

2023-06-16 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=155839

--- Comment #9 from Eyal Rozenberg  ---
(In reply to Mike Kaganski from comment #3)
> There might be some *narrow* set of cases where LibreOffice
> could know that *its own* distribution includes these

This is what I would expect. The thing is, that if an app is telling you "I am
missing FOO for locale LOC", your assumption as a user is that FOO is a part of
the app, but distributed separately for different locales; and that you have
likely neglected to also install FOO for LOC along with LO itself. Third-party
extension and such would not make the app present a notification bar.

> - but again: it needs
> to know how to install these: on Windows, it would need admin to initiate
> modification of existing installation; on Linux, each distro would have own
> command and own package name for those... 

Ok, so it would need admin privileges, that's doable. Or it would need
per-distribution customization - also doable, with the default suggesting the
user seek a package for their distribution. And the version we let people
download from our servers will be appropriately customized to download packages
from our servers.

> But *in general*, the problem of
> knowing how to obtain a random fo-BAR language that user tagged their
> hyphenated text with is unsolvable.

So, not the general problem, just the problem of obtaining a very specific FOO
for LOC. If there are other options for it - that's "not our problem" for the
purposes of this notification bar. Or - a secondary button, "Learn More", could
mention other options/sources/ideas. i.e. what we offer now is the other
possibility for users to pursue, but the default one should just be to download
the patterns.

> It is a warning that the document looks differently. It is not an error
> (like "the file is corrupt"), but still something needing to "draw user's
> attention to".

If it said that, it would be one thing. But LO is telling you its missing
something, and hinting that it is missing a piece of itself.

(In reply to Heiko Tietze from comment #6)
> Rather than forwarding to a hopefully up-to-date wiki we could show the list
> of extension directly (same as tools > options > language > writing aids:
> Get more dictionaries online...).

I agree with Mike - we should not refer user to extensions, certainly not in
this situation; and If LO knows about it beforehand, then it's not an
extension.

Also, and even more importantly - if you can find the list, then - don't show
any list, rather, on button press, let's just download and install the relevant
file. I just don't understand the insistence on not doing that or the claim
that we can't.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 155839] When propmpted about missing hyphenation data - I should be offered a download link

2023-06-16 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=155839

--- Comment #8 from Mike Kaganski  ---
(In reply to Heiko Tietze from comment #6)
> same as tools > options > language > writing aids: Get more dictionaries 
> online...

(1) (unrelated) somehow, this (and same link in EditModules) does not work for
me in Version: 7.5.4.2 (X86_64) / LibreOffice Community
Build ID: 36ccfdc35048b057fd9854c757a8b67ec53977b6
CPU threads: 12; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: ru-RU (ru_RU); UI: en-US
Calc: CL threaded

(2) I generally dislike, that the only thing in *UI* points to the *extensions*
site ( https://extensions.libreoffice.org/dictionaries/ ), where there are lots
of *unmaintained* third-party extensions, while for *most* cases, the
distribution itself contains a (not installed) package for the needed language,
and it should be the first thing to suggest.

(3) Dictionaries do not necessarily include hyphenation data, and not all of
them clearly communicate that. So even if this link is provided, a notice would
be nice, telling "look for a respective dictionary extension *containing
hyphenation data*".

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 155839] When propmpted about missing hyphenation data - I should be offered a download link

2023-06-16 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=155839

Heiko Tietze  changed:

   What|Removed |Added

   See Also||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=13
   ||1233

--- Comment #7 from Heiko Tietze  ---
Btw, work on this infobar was done for bug 128191 and bug 131233, with a
similar idea in c16.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 155839] When propmpted about missing hyphenation data - I should be offered a download link

2023-06-16 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=155839

--- Comment #6 from Heiko Tietze  ---
Rather than forwarding to a hopefully up-to-date wiki we could show the list of
extension directly (same as tools > options > language > writing aids: Get more
dictionaries online...).

It's a different bug that Hebrew is not listed here but available at
https://extensions.libreoffice.org/en/extensions/show/hebrew-he-spell-check-dictionary

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 155839] When propmpted about missing hyphenation data - I should be offered a download link

2023-06-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=155839

Mike Kaganski  changed:

   What|Removed |Added

 CC||cl...@documentfoundation.or
   ||g, r...@debian.org

--- Comment #5 from Mike Kaganski  ---
cloph, rene: do you know if it's possible to tweak our packaging process such
as to allow the main package to know which language packages (and their parts -
like, if they contain hyphenation) are built together? Of maybe we can allow to
set up a URL to learn it?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 155839] When propmpted about missing hyphenation data - I should be offered a download link

2023-06-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=155839

--- Comment #4 from Mike Kaganski  ---
And indeed, wording improvements, and - in case of built-in subset - clear
instructions how to add missing packages - are really welcome.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 155839] When propmpted about missing hyphenation data - I should be offered a download link

2023-06-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=155839

--- Comment #3 from Mike Kaganski  ---
(In reply to Eyal Rozenberg from comment #2)
> (In reply to Mike Kaganski from comment #1)
> > LibreOffice only tells you the fact.
> 
> Notification bars are not about telling me facts; they're about drawing my
> attention to a problematic situation which I may/should want to address.

Let me skip the obvious that the two things are not mutually exclusive; and
that telling facts is necessary part of drawing attention to anything.

But here you definitely have *something* that your attention needs to be drawn
to. Again: the *document* demands that *a piece of it* be auto-hyphenated using
rules of a specific language. LibreOffice may happen to know these rules, or if
not, it may draw your attention to the fact that it simply can't layout the
text as the document specifies (so you likely see the document not the way its
author intended) - and this is a problem that LibreOffice can't handle itself;
but user *might* know a way. Or not. One of the things users can do is asking
the author. Another is googling for the hyphenator. Or volunteering and
creating one. Lots of options.

> 
> > It has no way to know that *any* language's hyphenation data is available
> > from *any* source (third party extension? maybe on OOo/AOO extension site?);
> > or maybe in another product (MS Word that can generate ODT?).
> 
> Sure it has. If LO can know when an update is available, it can know whether
> hyphenation patterns are available.

No. This is where one person is creating a new Hunspell dictionary (for
Osetian): https://forumooo.ru/index.php?topic=9244.0,
https://forumooo.ru/index.php?topic=9771.0. It is not a hyphenation dictionary,
but let as loo forward, at the moment they start implementing hyphenator, too.
They have it locally, in some WIP form. They (and anyone) can create documents
specifying this language for (portions of) text. How could LibreOffice on your
system know where to obtain that custom dictionary? There might be some
*narrow* set of cases where LibreOffice could know that *its own* distribution
includes these - but again: it needs to know how to install these: on Windows,
it would need admin to initiate modification of existing installation; on
Linux, each distro would have own command and own package name for those... But
*in general*, the problem of knowing how to obtain a random fo-BAR language
that user tagged their hyphenated text with is unsolvable.

> But even if you were to argue it shouldn't actively go look for the
> hyphenation patterns for the locale(s) you use - it should still do so if
> you ask it to, i.e. it will tell you you're missing patterns, and when you
> click, it will either get them for you, or tell you they're missing. Not as
> great, but better than what we have now.

It should do *what exactly*? Go googling? Please wait and think about what I
try to explain.

> > And it can't do that. And tells. Nothing wrong at all.
> 
> If this were an _error_ message, that would be a different matter. But it
> isn't. It leads the user to believe that they can get those hyphenation
> patterns.

It is a warning that the document looks differently. It is not an error (like
"the file is corrupt"), but still something needing to "draw user's attention
to".

But improvements at least in "built-in" cases would indeed be welcome. However,
in case of Hebrew, which you put into the description (comment 0), where you
tell LibreOffice has nothing in itself, the point stands, that it can do
nothing.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 155839] When propmpted about missing hyphenation data - I should be offered a download link

2023-06-14 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=155839

Eyal Rozenberg  changed:

   What|Removed |Added

   Keywords||needsUXEval
 CC||libreoffice-ux-advise@lists
   ||.freedesktop.org

--- Comment #2 from Eyal Rozenberg  ---
(In reply to Mike Kaganski from comment #1)
> LibreOffice only tells you the fact.

Notification bars are not about telling me facts; they're about drawing my
attention to a problematic situation which I may/should want to address.

> It has no way to know that *any* language's hyphenation data is available
> from *any* source (third party extension? maybe on OOo/AOO extension site?);
> or maybe in another product (MS Word that can generate ODT?).

Sure it has. If LO can know when an update is available, it can know whether
hyphenation patterns are available.

But even if you were to argue it shouldn't actively go look for the hyphenation
patterns for the locale(s) you use - it should still do so if you ask it to,
i.e. it will tell you you're missing patterns, and when you click, it will
either get them for you, or tell you they're missing. Not as great, but better
than what we have now.

> And it can't do that. And tells. Nothing wrong at all.

If this were an _error_ message, that would be a different matter. But it
isn't. It leads the user to believe that they can get those hyphenation
patterns.

> And - well, unless you require that all language modules are installed
> unconditionally (which I personally would welcome, but many would hate),
> there's no way to even point to downloads, because it may be not
> downloadable, but installable - from the MSI on Windows; from packages on
> Debian...

I'll again make the analogy regarding LO updates. Yes, this may be
difficult/impossible/distribution-specific. In those case, we should offer an
easy customization point for distributors, plus, we should make some effort to
help the user get what they need. That is, depending on how LO was installed
and/or what we know about the OS/DE, we should point the user to the closest
thing possible to a download link. If it's one of our packages - then it would
be to a corresponding package of the same kind for hyphenation patterns; if not
- the packagers will change this to something which suits them.

Anyway, let's see what the UX design, umm, ad-hoc per-meeting committee thinks
about this.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 155839] When propmpted about missing hyphenation data - I should be offered a download link

2023-06-14 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=155839

--- Comment #1 from Mike Kaganski  ---
No.

LibreOffice only tells you the fact.
It has no way to know that *any* language's hyphenation data is available from
*any* source (third party extension? maybe on OOo/AOO extension site?); or
maybe in another product (MS Word that can generate ODT?).

It knows that there is a text marked this language (it may be even not known to
LibreOffice, and its name is obtained from the library used internally, given
the language tag that some user entered manually), and this text is also has
"auto-hyphenation" property. And it can't do that. And tells. Nothing wrong at
all.

And - well, unless you require that all language modules are installed
unconditionally (which I personally would welcome, but many would hate),
there's no way to even point to downloads, because it may be not downloadable,
but installable - from the MSI on Windows; from packages on Debian...

NOTABUG.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 155839] When propmpted about missing hyphenation data - I should be offered a download link

2023-06-14 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=155839

Eyal Rozenberg  changed:

   What|Removed |Added

   See Also||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=15
   ||5841

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 155839] When propmpted about missing hyphenation data - I should be offered a download link

2023-06-14 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=155839

Eyal Rozenberg  changed:

   What|Removed |Added

 Blocks||112812, 120883


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=112812
[Bug 112812] [META] Hebrew language-specific RTL issues
https://bugs.documentfoundation.org/show_bug.cgi?id=120883
[Bug 120883] [META] Hyphenation bugs and enhancements
-- 
You are receiving this mail because:
You are the assignee for the bug.