Created attachment 105284 [details]
Screenshot to describe the issue
1. Launch Calc in Windows 7 (with the default theme)
2. Click "Expand formula bar" button (figure 1)
- Top area about two lines of the formula bar is missing (figure 2)
- And also "Collapse Formula Bar" button is also missing so we can't collapse the bar
- The formula bar appears well and we can see "Collapse Formula Bar" button
NOTE: This problem occurs with Windows 7 default (aero) theme. We don't have any issue with Windows 7 classic theme.
Operating System: Windows 7
Version: 126.96.36.199.alpha0+ Master
I only tried 4.3.0, but another user reported me we had same issue with 4.2, 4.1 and 4.0. 3.6 or older seems fine, maybe.
I tried Japanese Windows 7 but I heard we have same problem in German one in AskBot. see: http://ask.libreoffice.org/en/question/38800/collapse-formula-bar-button-is-missing-in-windows-7-default-theme/
tested with LO 4.3.1, win7. I can not confirm. As I see on your screenshot, you are using personas in LO. Please try without personas. Thank you.
Created attachment 106412 [details]
Screenshot without Firefox theme (persona) with LibreOffice 188.8.131.52
Sorry I didn't tried without Firefox theme (persona). I turned "Tools" > "Option" > "Personalized" > "Firefox Theme" to "Plain look, do not use theme" and tried again and I hit this issue again.
Please show a screenshot I attached.
I'm unable to reproduce, but I have not Japanese or German build. Maybe language specific. Tested on Czech system.
Created attachment 107070 [details]
Expandir linha de entrada
Windows 8, não acontece com todos os computadores
Windows 8, the error does not happen with all computers
Since Bruno confirmed it, I set status to NEW.
*** Bug 84366 has been marked as a duplicate of this bug. ***
cannot reproduce with LibO-dev 184.108.40.206.alpha0+.
Build ID: cb6ced50c11ea71e5655c46e49f17f3b5921f526
TinderBox: Win-x86@51-TDF, Branch:MASTER, Time: 2014-11-23_10:18:50
Created attachment 109935 [details]
I get this behaviour with
LO 220.127.116.11.0+ Build ID: 77c6ce66696a997269b9fe4dfed1dc2e51ecd00e
TinderBox: Win-x86@42, Branch:libreoffice-4-3, Time: 2014-10-17_16:12:56
& Windows 7 Home Premium
but only if I increase
Tools > Options > LibreOfficeDev > View > Scaling.
At 100%, the expand button has no effect.
But at 130%, after expanding, collapsing, expanding, the situation is the same as the one showed in the first attachment.
In my observation, the problem seems solved partly; with "Large" icon, the formula bar works well, but with "Small" icon, we still have the issue with 18.104.22.168 and master.
Icon size can be set in Tools > Option > LibreOffice > View > Icon Size and Style.
Created attachment 113348 [details]
A workaround patch
I attached a workaround patch.
This patch modifies ToolBox::ImplFormat() method in vcl/source/window/toolbox.cxx.
An item included a ToolBox will be prevented to place in incorrect position.
Cause of the bug is follows.
1. When the new item is added, ToolBox::ImplFormat () places it to the new position.
ToolBox::ImplFormat() determines whether or not the item is newly added,
using that the new item's Top Coordinate is 0.
However, it seems that the non-new item's Top Coordinate is zero in some conditions(on Windows7 with Aero,etc...).
2.Unfortunately, mnMaxItemHeight variable(used to calculate the new position) holds the old value,immediately after the formula bar is expanded(not updated yet).
In that reason, the item is placed in incorrect position.
Created attachment 113378 [details]
Workaround patch 2
Tomofumi Yagi committed a patch related to this issue.
It has been pushed to "master":
tdf#83099 fix Top of formula bar is missing when expanding on Windows 7
It will be available in 4.5.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.
I tried with:
Build ID: f09efe39da1a2a1cf89b718bc07ed75e0da1b602
TinderBox: Win-x86@62-TDF, Branch:MASTER, Time: 2015-02-23_22:31:27
and it seems to work well for me.