<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - Freeze First Row works only sometimes"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=109173">109173</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Freeze First Row works only sometimes
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>5.2.7.2 release
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Calc
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>pavel.zahradnik@centrum.cz
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
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)

Actual Results:  
Nothing happens.

Expected Results:
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.


Reproducible: Always

User Profile Reset: 

Additional Info:
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.

Version: 6.0.0.0.alpha0+
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</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>