Handout view is a special view in Impress which has only a master slide mode.
Sidebar has an issue when swicthing to this handout view. Sometimes the button is not displayed at all, sometimes it is displayed as Master Slide (which is an error since we already on a master slide) and sometimes it's displayed as Close Master Slide button (which might be OK), but if you click on it nothing happens, since there is no "normal view" for handouts.
I suggest to remove that button when we are in handout mode. I guess something was done to do that, that's why sometimes the button is not displayed, but the code does not work correctly it seems.
Steps to Reproduce:
1. Open Impress
2. Switch from normal slide view to handout view (button is displayed as Master Slide)
3. Switch from master slide view to handout view (button is displayed as Close Master Slide)
4. Switch from outliner view to handout view (button is not displayed at all)
Master Slide \ Close Master Slide button displayed inconsistently.
This button is useless in handout mode, so would be good to remove.
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
Let's turn this into an easy hack. The code is here:
SlideBackground::HandleContextChange() method might be a good starting point.
Gerrit patch: https://gerrit.libreoffice.org/#/c/44516/
Xisco Fauli committed a patch related to this issue.
It has been pushed to "master":
tdf#111826: Hide master slide button in handout 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.