Bug 139356 - The Second Button (Apply to MODULENAME) in new User Interface (.uno:ToolbarModeUI) Dialog Has wrong MODULENAME value
Summary: The Second Button (Apply to MODULENAME) in new User Interface (.uno:ToolbarMo...
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
7.2.0.0.alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-01 15:10 UTC by Rizal Muttaqin
Modified: 2021-01-04 10:05 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Apply to Unsupported (47.77 KB, image/png)
2021-01-01 15:10 UTC, Rizal Muttaqin
Details
Screencast of the issue (15.56 MB, video/x-matroska)
2021-01-04 06:47 UTC, Buovjaga
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rizal Muttaqin 2021-01-01 15:10:16 UTC
Created attachment 168620 [details]
Apply to Unsupported

Switching Calc UI from Tabbed to Standard UI after switching from Macro Editor dialog back to Calc returns to <Apply to Unsupported> rather than <Apply to Calc>. 

This bug seems inconsistent, sometime the string goes wrong sometime not. One should test it for more than one time. I also found the string lost completely which make the text of the button became <Apply to>

Steps to reproduce
1. Change Calc to Tabbed UI (View > User Interface..)
2. Open Macro Editor (Tools > Macros > Edit Macros from menubar or Tools tab > Edit Macros)
3. Back to Calc's window and select User Interface.. (.uno:ToolbarModeUI) from right top menu

Even after deleting whole user profile (rm -rf ~/.config/libreofficedev) this bug occurs also
Comment 1 Rizal Muttaqin 2021-01-01 15:22:29 UTC
Version: 7.2.0.0.alpha0+
Build ID: f72a5fd03ddfa94b074b28cf1259284f727139f0
CPU threads: 4; OS: Linux 5.4; UI render: default; VCL: kf5
Locale: id-ID (id_ID.UTF-8); UI: en-US
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2020-12-28_21:50:05
Calc: threaded


Update: After having playing further I've found this bug affects Writer, Draw and Impress as well. Seems UI Chooser dialog still detect in the macro dialog.

This bug just occurs in Tabbed and Tabbed Compact UI

Testing should be done repeatedly (from Macro Editor dialog go back to main module dialog > open UI Chooser > close UI chooser > switch to Macro Editor dialog > switch back to main module dialog)
Comment 2 Rizal Muttaqin 2021-01-01 15:41:08 UTC
This bug has pattern, it will occur in the second iteration of window switching (sorry I said it dialog early) and just affects Tabbed and Tabbed Compact in all modules with one exception: Draw Tabbed UI. Tabbed & Tabbed Compact UI in Writer, Calc and Impress also Tabbed Compact UI in Draw got same issue.

Here the list of UI's affected:
1. Writer: Tabbed & Tabbed Compact
2. Calc: Tabbed & Tabbed Compact 
3. Impress: Tabbed & Tabbed Compact
4. Draw: Just Tabbed Compact
Comment 3 Rizal Muttaqin 2021-01-01 15:50:29 UTC
So this is the complete steps
1. Change an module (Writer/Calc/Impress/Draw) interface to Tabbed or Tabbed Compact  (View > User Interface..)
2. Open Macro Editor (Tools > Macros > Edit Macros from menubar or Tools tab > Edit Macros)
3. Back to main module window and select User Interface.. (.uno:ToolbarModeUI) from right top menu : __Button's text is OK__
4. Close UI Chooser dialog
5. Go back to Macro Editor window
6. Switch again to main module window and select User Interface.. (.uno:ToolbarModeUI) from right top menu : __Button's text goes wrong__
Comment 4 Buovjaga 2021-01-04 06:47:53 UTC
Created attachment 168653 [details]
Screencast of the issue

Note to Rizal, this is how I compressed your original file with two commands (two passes):

ffmpeg -y -i tdf139356_issue.mp4 -c:v libaom-av1 -strict -2 -b:v 200K -g 60 -keyint_min 60 -sc_threshold 0 -row-mt 1 -tile-columns 1 -tile-rows 0 -threads 8 -cpu-used 4 -pass 1 -f matroska /dev/null

ffmpeg -y -i tdf139356_issue.mp4 -c:v libaom-av1 -strict -2 -b:v 200K -maxrate 400K -bufsize 400k -g 60 -keyint_min 60 -sc_threshold 0 -row-mt 1 -tile-columns 1 -an -tile-rows 0 -threads 8 -cpu-used 4 -pass 2 tdf139356_issue_av1.mkv

The second one took like 2 hours to complete, but the result is very nice :)

Adapted from the commands in https://www.streamingmediaglobal.com/Articles/ReadArticle.aspx?ArticleID=143181
Comment 5 Heiko Tietze 2021-01-04 10:05:43 UTC
(In reply to Rizal Muttaqin from comment #0)
> Steps to reproduce

Cannot repro. Calc > Tabbed UI > Edit Macro -> whether File > New or just alt+tab into the running Calc I get the same UI picker dialog as before. Did it a couple of times.

Version: 7.2.0.0.alpha0+
Build ID: 2aff7b2622b3fcc3115037d48e033fe1b7ab627a
CPU threads: 8; OS: Linux 5.10; UI render: default; VCL: kf5
Locale: de-DE (en_US.UTF-8); UI: en-US
Calc: threaded

(In reply to Buovjaga from comment #4)
> ffmpeg ...

Cannot find codec matching selected -vo and video format 0x31305641