Bug 162607 - [LOCALHELP] Remove/fix duplicate entries in hid2file.js
Summary: [LOCALHELP] Remove/fix duplicate entries in hid2file.js
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Documentation (show other bugs)
Version:
(earliest affected)
25.2.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: target:25.2.0
Keywords:
Depends on:
Blocks: HelpGaps-NewFeatures Help-Changes-Features
  Show dependency treegraph
 
Reported: 2024-08-24 14:15 UTC by Olivier Hallot
Modified: 2024-09-12 17:30 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
status as of today. 140 entries (5.17 KB, text/plain)
2024-08-26 05:51 UTC, fpy
Details
diff from 2021-09 (2.57 KB, patch)
2024-08-26 05:52 UTC, fpy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier Hallot 2024-08-24 14:15:59 UTC
As explained in https://bugs.documentfoundation.org/show_bug.cgi?id=120200#c2 , remove or fix the duplicate entries in hid2file.js.

Removal has to be carried in the source Help files (*.xhp). 

The list of duplicates can be extracted with command 

sed -n "s;^\('[^']*'\):'.*$;\1;p" hid2file.js | sort | uniq -dc

use "git grep <bookmark>" in hepcontent2/source/text/ to get the files with duplicated bookmark entry. 

Investigate the way to fix it. There can be ambiguities to resolve.
Comment 1 Commit Notification 2024-08-24 14:36:40 UTC
Olivier Hallot committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/help/commit/3542a6dade252f7d6b9e8332437e88a52e782db6

tdf#162607 Remove dup's in hid2file.js
Comment 2 Olivier Hallot 2024-08-24 17:08:52 UTC
TIP: if the <bookmark> is just before an <ahelp> tag, especially when visibility="hidden" and href=".", then please move the bookmark href= to the ahelp's href= and delete the bookmark.

Let's not loose the ahelp content for the moment and by assigning the bookmark href to the ahelp will qualify the ahelp contents for later processing/refactoring/reuse.
Comment 3 Commit Notification 2024-08-24 17:52:03 UTC
Olivier Hallot committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/help/commit/6930aa0207190cdb8113b74dbbfb61b40ddafe4b

tdf#162607 Remove dup's in hid2file.js
Comment 4 fpy 2024-08-26 05:45:02 UTC
(In reply to Olivier Hallot from comment #0)
> 
> The list of duplicates can be extracted with command 
> 
> sed -n "s;^\('[^']*'\):'.*$;\1;p" hid2file.js | sort | uniq -dc

adding " | sort -nr "  may also help :    

      6 'zzzz'
      5 'HID_GLOBAL_FALLBACK'
      4 '.uno:DeleteRows'
      4 '.uno:DeleteColumns'
      3 '.uno:ZoomIn'
      3 '.uno:WindowList'
      3 '.uno:ViewMenu'
      3 '.uno:ToolsMenu'
      3 '.uno:ParaStyle'
      3 '.uno:Navigator'
      3 '.uno:InsertRows'
      3 '.uno:InsertMenu'
      3 '.uno:InsertColumns'
      3 '.uno:FormatMenu'
      3 '.uno:FileMenu'
      3 '.uno:EditMenu'
      3 'SFX2_HID_TEMPLDLG_WATERCAN'
      3 'SFX2_HID_TEMPLDLG_UPDATEBYEXAMPLE'
      3 'SFX2_HID_TEMPLDLG_NEWBYEXAMPLE'
      3 'SFX2_HID_TEMPLATE_FMT'
      2 'writerperfect/ui/exportepub/splitlb
   ...


Root cause would be interesting to know.
For reference, Ross's file was 152 lines,
we are now at 140. 
1,2d0
<       2 'cui/ui/newtabledialog/NewTableDialog'
<       2 'cui/ui/newtabledialog/@@nowidget@@'
4d1
<       2 'cui/ui/optuserpage/country'
31a29
>       2 'modules/scalc/ui/navigatorpanel/datarange'
41c39,41
<       2 'modules/simpress/ui/presentationdialog/presdisplay_cb'
---
>       2 'modules/sdraw/ui/dlgsnap/@@nowidget@@'
>       2 'modules/simpress/ui/publishingdialog/page1'
>       2 'modules/swriter/ui/businessdatapage/state'

see full diff attached.
Comment 5 fpy 2024-08-26 05:51:04 UTC
Created attachment 196019 [details]
status as of today. 140 entries
Comment 6 fpy 2024-08-26 05:52:10 UTC
Created attachment 196020 [details]
diff from 2021-09
Comment 7 Commit Notification 2024-08-26 09:36:41 UTC
Olivier Hallot committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/help/commit/ef154ba2a37e2b20fe667c9d704fc7749536cbac

tdf#162607 Remove dup's in hid2file.js, .uno:InsertRows
Comment 8 Commit Notification 2024-08-26 14:05:18 UTC
Olivier Hallot committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/help/commit/1acfb22433aba0a648dd3df3d365671b690d2b6d

tdf#162607 Remove dup's in hid2file.js, .uno:InsertColumns
Comment 9 Commit Notification 2024-08-26 20:31:24 UTC
Olivier Hallot committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/help/commit/15dbb24419ea408415a5dffd3c883f196d0bb891

tdf#162607 Remove dup's in hid2file.js, .uno:DeleteRows
Comment 10 Commit Notification 2024-08-26 20:31:26 UTC
Olivier Hallot committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/help/commit/9dc4502905e6364b8bc5069c3c561b44d7b896a9

tdf#162607 Remove dup's in hid2file.js, .uno:DeleteColumns
Comment 11 Commit Notification 2024-08-26 20:33:29 UTC
Olivier Hallot committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/help/commit/c740b6ad9675129ad839903fe69afd10e1cddfb4

tdf#162607 Remove dup's in hid2file.js, Bad hid/
Comment 12 Commit Notification 2024-08-27 20:10:12 UTC
Olivier Hallot committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/help/commit/ce7c46b6887bf4c74252e8d6b047013a22675bb6

tdf#162607 Remove dup's in hid2file.js, .uno:Sort*
Comment 13 Commit Notification 2024-08-29 08:19:11 UTC
Olivier Hallot committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/help/commit/9b6f313e24d791be85d9c62dea03905f86e2df35

tdf#162607 Remove dup's in hid2file.js, .uno:ZoomIn
Comment 14 Commit Notification 2024-08-29 08:20:14 UTC
Olivier Hallot committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/help/commit/8914196b95890d066eac338c9d1243c89edea43f

tdf#162607 Remove dup's in hid2file.js, .uno:ZoomOut
Comment 15 Commit Notification 2024-08-30 11:29:27 UTC
Olivier Hallot committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/help/commit/71c24af82c60bcbaf4a02bcdfa7a762bc0e3da92

tdf#162607 Remove dup's in hid2file.js, .uno:ZoomPlus/Minus
Comment 16 Commit Notification 2024-08-31 12:32:08 UTC
Olivier Hallot committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/help/commit/eee5d2a36a440d54d5e793ea747239f9f782b9cf

tdf#162607 Remove dup's in hid2file.js, bad hid
Comment 17 Commit Notification 2024-08-31 17:05:58 UTC
Olivier Hallot committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/help/commit/d41c733d4d966f47cc0212a526d78722eee81ca8

tdf#162607 Remove dup's in hid2file.js WIZARDS
Comment 18 Commit Notification 2024-09-02 15:26:58 UTC
Olivier Hallot committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/help/commit/662d3b9e8aa7359d8d503046eee2067aeb8e937b

tdf#162607 Remove dup's in hid2file.js,
Comment 19 Commit Notification 2024-09-03 09:50:45 UTC
Olivier Hallot committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/help/commit/a6b347432e6370b425c34cad64603626ca363916

tdf#162607 Remove dup's in hid2file.js, WindowList
Comment 20 Commit Notification 2024-09-03 09:51:48 UTC
Olivier Hallot committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/help/commit/299d2d8680d24b037047a8a70391960dba9d501c

tdf#162607 Remove dup's in hid2file.js, .uno:ViewMenu
Comment 21 Commit Notification 2024-09-03 15:48:50 UTC
Olivier Hallot committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/help/commit/aae6ef303f218873f1df1b39a56dee2975df4bd2

tdf#162607 Remove dup's in hid2file.js, .uno:InsertMenu
Comment 22 Commit Notification 2024-09-03 22:30:58 UTC
Olivier Hallot committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/help/commit/89f535d534780afd0dd684223c684b29e33c2009

tdf#162607 Remove dup's in hid2file.js, .uno:LoadStyles
Comment 23 Commit Notification 2024-09-04 15:45:27 UTC
Olivier Hallot committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/help/commit/c8a102908be2a86209d4a2e94a5ef0031445803b

tdf#162607 Remove dup's in hid2file.js, SFX2_HID*
Comment 24 Commit Notification 2024-09-04 19:23:03 UTC
Olivier Hallot committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/help/commit/e0980a281484ae01ed6e1f11a4fbed5daf5452b9

tdf#162607 Remove dup's in hid2file.js, epub
Comment 25 Commit Notification 2024-09-07 16:57:13 UTC
Olivier Hallot committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/help/commit/970df2d1be6b52393668f2554c2f6cdf1f2f05dc

tdf#162607 Remove dup's in hid2file.js
Comment 26 Commit Notification 2024-09-07 16:58:16 UTC
Olivier Hallot committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/help/commit/b9174d7844e4e6df7820b63fd62c9c1eb70752d3

tdf#162607 Remove dup's in hid2file.js, pdf export
Comment 27 Commit Notification 2024-09-07 17:00:19 UTC
Olivier Hallot committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/help/commit/ce3c29b0ba0db095049bb4792db3b0df10ad0a94

tdf#162607 Remove dup's in hid2file.js, SC_HID*
Comment 28 Commit Notification 2024-09-08 11:39:40 UTC
Olivier Hallot committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/help/commit/fd76f630da7ec75c86340f62aee37dd6c1280ba8

tdf#162607 Remove dup's in hid2file.js, SD_HID*
Comment 29 Commit Notification 2024-09-08 11:40:43 UTC
Olivier Hallot committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/help/commit/d1c125b79ba1140d894aa2ef71692394218bf3ff

tdf#162607 Remove dup's in hid2file.js, signature
Comment 30 Commit Notification 2024-09-11 20:40:17 UTC
Olivier Hallot committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/help/commit/f0cce1baf94f2645e5eac9bd3dbc72de359179b5

tdf#162607 Remove dup's in hid2file.js, NewTableDialog
Comment 31 Commit Notification 2024-09-11 23:08:34 UTC
Olivier Hallot committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/help/commit/4a1a76e6b7c74f0903b7695f137160e4c7e622f7

tdf#162607 Remove dup's in hid2file.js Standard filter
Comment 32 Commit Notification 2024-09-12 13:00:38 UTC
Olivier Hallot committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/help/commit/ec63fc11d91d92f31fd7aca15820fafd84d2c957

tdf#162607 Remove dup's in hid2file.js, DBACCESS_HID*
Comment 33 Commit Notification 2024-09-12 13:47:46 UTC
Olivier Hallot committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/help/commit/30b104a12fa9d2f95cd7edcfec42431da7a022d3

tdf#162607 Remove dup's in hid2file.js, Print dialog
Comment 34 Commit Notification 2024-09-12 17:30:21 UTC
Olivier Hallot committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/help/commit/37ce48a19c58e36486e71461eed545d5f6e30836

tdf#162607 Remove dup's in hid2file.js,uno:Align*
Comment 35 Commit Notification 2024-09-12 17:30:24 UTC
Olivier Hallot committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/help/commit/6185c0d3fdc17d2e02cb9e40ae3bd3e75315f36d

tdf#162607 Remove dup's in hid2file.js,uno:CellVert*
Comment 36 Commit Notification 2024-09-12 17:30:26 UTC
Olivier Hallot committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/help/commit/03b22cedc167f609b4ef43a327a2967e8ca8251c

tdf#162607 Remove dup's in hid2file.js, EXTENSIONS*