Freeze First Row does nothing when the row "1" is not visible on the current screen, but the command is shown as active/available in the menu and toolbar.
The behaviour is quite misleading, but I am not sure what is the proper expected behaviour. M$ Excel freezes the topmost row of the current screen.
Steps to Reproduce:
1. Open new spreadsheet
2. Scroll down so the row "1" is not visible
3. Select "Freeze First Row" either from toolbar button or from the menu (View - Freeze Cells - Freeze First Row)
Either the topmost row should be frozen, or the row "1" should be frozen and the current screen adjusted, or the command to Freeze First Row should be inactive/unavailable in such a situation.
User Profile Reset:
It is similar for Freeze First Column, just scroll to the right (Shift+Scroll) so the column "A" is not visible on the current screen.
Reproducible also in current master.
Build ID: cf0a9b9c7a988b74102bcdd38710fb9e80521081
CPU threads: 2; OS: Linux 4.11; UI render: default; VCL: gtk2;
TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time: 2017-07-17_13:35:14
Locale: cs-CZ (cs_CZ.UTF-8); Calc: group
User-Agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0
*** This bug has been marked as a duplicate of bug 100666 ***