We have a Master Slide / Close Master Slide button on sidebar in Impress. It would be good if we can change the text and the functionality in notes view that this button switches between Master Notes and Notes view instead.
Steps to Reproduce:
1. Open Impress
2. Switch to Notes view (View ->Notes)
3. Check the label and functionality of Master Slide / Close Master Slide button
The button on sidebar has a text "Master Slide" and when clicking on it the view is changed to Master Slide. When we have in master notes view the button shows Close Master View and clicking on it switches to Notes view.
Button should have a label of "Master Notes" when in Notes view and the button should switch between Notes and Master Notes view.
User Profile Reset: No
User-Agent: Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.90 Safari/537.36
Build ID: ef2e6260fad38e26c8591ea88ded348db618270d
CPU threads: 4; OS: Linux 4.10; UI render: default; VCL: gtk3;
Locale: ca-ES (ca_ES.UTF-8); Calc: group
Similar to bug 106679
@pv2k, feel like working on this one?
(In reply to Xisco Faulí from comment #1)
> Confirmed in
> Version: 18.104.22.168.alpha0+
> Build ID: ef2e6260fad38e26c8591ea88ded348db618270d
> CPU threads: 4; OS: Linux 4.10; UI render: default; VCL: gtk3;
> Locale: ca-ES (ca_ES.UTF-8); Calc: group
> Similar to bug 106679
> @pv2k, feel like working on this one?
@pv2k Good, I see you are familiar with the code, so would be good to have you here if you have time for that. I also reported an other issue related this button on handout view, there it can be hidden I think (tdf#111826).
Let's turn this into an easy hack. The code is here:
SlideBackground::HandleContextChange() method might be a good starting point.
Tamás Zolnai committed a patch related to this issue.
It has been pushed to "master":
tdf#111835: Hide Master slide / close master slide button in notes view
It will be available in 6.0.0.
The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
Affected users are encouraged to test the fix and report feedback.