Closed
Bug 1105642
Opened 11 years ago
Closed 9 years ago
Mouse pointer position is inaccurate with internal Silverlight application when using a large screen resolution
Categories
(Core :: Graphics: Layers, defect)
Tracking
()
RESOLVED
INCOMPLETE
People
(Reporter: dimas.sc, Unassigned)
Details
(Whiteboard: [gfx-noted])
Attachments
(1 file)
|
1.10 MB,
video/mp4
|
Details |
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:34.0) Gecko/20100101 Firefox/34.0
Build ID: 20141125180439
Steps to reproduce:
We are a company with Firefox 24 deployed to more than 2000 PCs. We have an Intranet app made with Silverlight working ok with this Firefox version. But now we want to update to Firefox 33 and testing it we've found that it doesn't work with the Silverlight app with big monitors. It seems to be related to the resolution of the monitor, or at least, to the size of the Firefox window. The problem is that the mouse pointer doesn't seem to be pointing where it is. It's better explained in this screencast, where you can see that in a 1024px Firefox window it works OK, but when it's 1920px it doesn't work: https://www.youtube.com/watch?v=DA9DLYc-vpE
We tried different versions of Silverlight, currently 5.1.30514.0
I don't know in which Firefox version it started to appear this bug. With Internet Explorer it works.
Comment 1•11 years ago
|
||
Considering we don't have access to your intranet app, can you try to narrow down the regression range?("sometime between Firefox 24 and 33" is a /lot/ of changes to look at...)
We have a pretty user-friendly commandline tool for this purpose called mozregression. You can find instructions on how to use it at http://mozilla.github.io/mozregression/ .
Flags: needinfo?(dimas.sc)
mozregression ended with an error: AttributeError: 'NoneType' object has no attribute 'inbound_branch', but I found the range:
Last good revision: 298f262f21ff (2014-01-18)
First bad revision: 61fd0f987cf2 (2014-01-19)
Pushlog: http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=298f262f21ff&tochange=61fd0f987cf2
After that: "... attempting to bisect inbound builds (starting from previous week, to make sure no inbound revision is missed)
Getting http://(...)/nightly/2014/01/2014-01-11-03-02-00-mozilla-central/firefox-29.0a1.en-US.win64-x86_64.txt
(...)
'NoneType' object has no attribute 'inbound_branch'
Hope it helps!
Flags: needinfo?(dimas.sc)
Comment 3•11 years ago
|
||
So that backlog is very helpful because it's quite small... The only thing that really jumps out at me is the APZ hit testing change, except AFAICT that /should/ only affect touch access? kats, can you confirm my interpretation of that patch? ( http://hg.mozilla.org/mozilla-central/rev/dbe8147a7981 )
I just tried to look at the demo screencast, but youtube just tells me "This video is private, sorry about that"...
Alternatively, is it possible to make a simpler (public) testcase with a silverlight app on its own page, considering we can't access the intranet app?
Flags: needinfo?(dimas.sc)
Comment 4•11 years ago
|
||
(In reply to :Gijs Kruitbosch from comment #3)
> So that backlog is very helpful because it's quite small... The only thing
> that really jumps out at me is the APZ hit testing change, except AFAICT
> that /should/ only affect touch access? kats, can you confirm my
> interpretation of that patch? (
> http://hg.mozilla.org/mozilla-central/rev/dbe8147a7981 )
Now with needinfo...
Flags: needinfo?(bugmail.mozilla)
Now you can see the youtube video, sorry for that: https://www.youtube.com/watch?v=DA9DLYc-vpE
Flags: needinfo?(dimas.sc)
Comment 6•11 years ago
|
||
The APZ change should only have affected touch events, and even so wouldn't affect any desktop platforms. I also looked through the list of changes and the diff between those two revisions and didn't see anything that might cause this. Too bad we don't have inbound builds going that far back.
Flags: needinfo?(bugmail.mozilla)
Comment 7•11 years ago
|
||
So I can't reproduce this on Firefox 34, with responsive mode on http://bubblemark.com/sl3/TestPage.html (which afaict has a fullpage silverlight plugin). Dimas, can you provide a publicly accessible testcase?
Flags: needinfo?(dimas.sc)
Trying to publish a testcase I discovered that with the version 37.0.1 the Silverlight app works again ok!
I used mozregression to find when it has been fixed:
10:19.58 LOG: MainThread Bisector INFO Got as far as we can go bisecting nightli
es...
10:19.58 LOG: MainThread Bisector INFO First good revision: f1f48ccb2d4e
10:19.58 LOG: MainThread Bisector INFO Last bad revision: 035a951fc24a
10:19.58 LOG: MainThread Bisector INFO Pushlog:
https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=035a951fc24a&tocha
nge=f1f48ccb2d4e
41:54.26 LOG: MainThread Bisector INFO Oh noes, no (more) inbound revisions :(
41:54.26 LOG: MainThread Bisector INFO First good revision: 24ba8274ed60
41:54.26 LOG: MainThread Bisector INFO Last bad revision: 2a61df4eaa2d
41:54.26 LOG: MainThread Bisector INFO Pushlog:
https://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=2a61df
4eaa2d&tochange=24ba8274ed60
Flags: needinfo?(dimas.sc)
Comment 10•10 years ago
|
||
I don't know that code well enough to give a whole-hearted "yes", but it is at least not illogical that such a change would fix this. It sounds like we're now using D3D11 to render stuff on win7 even if we weren't before, and that might well be related to (a) it now working and (b) you were having different experiences from me in terms of reproducing the issue when it was broken. CC'ing Bas in case he has any ideas/comments.
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → WORKSFORME
| Reporter | ||
Comment 11•10 years ago
|
||
The bug appeared again :( Using Mozregression-gui:
Last good nightly build: 2015-07-28
First bad nightly build: 2015-07-29
Last good inbound build: 9c48bac3 (https://hg.mozilla.org/integration/mozilla-inbound/rev/9c48bac3e0d3 - https://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=9c48bac3e0d30deec06907bc582516cc170d82b1&tochange=efb3e9a0b0b88d3b482162bb7664691288cb62a2)
First bad inbound build: efb3e9a0 (https://hg.mozilla.org/integration/mozilla-inbound/rev/efb3e9a0b0b8 - https://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=2696ce503d339ce1e629d95ede7661068c82f841&tochange=efb3e9a0b0b88d3b482162bb7664691288cb62a2)
Status: RESOLVED → UNCONFIRMED
Flags: needinfo?(gijskruitbosch+bugs)
Flags: needinfo?(bas)
Resolution: WORKSFORME → ---
Comment 12•10 years ago
|
||
I don't know enough about graphics to be useful in commenting on that regression range. Bas should be able to.
Flags: needinfo?(gijskruitbosch+bugs)
| Reporter | ||
Comment 14•10 years ago
|
||
Any progress on this?
Comment 16•10 years ago
|
||
It's the patch that Bas wrote that appears to be at fault here.
Flags: needinfo?(pehrsons) → needinfo?(bas)
Comment 17•10 years ago
|
||
This bug just needs a diagnosis and work. Right now it's not tracked or prioritized, nor is there a way for me to reproduce or fix it.
Flags: needinfo?(bas)
| Reporter | ||
Comment 18•10 years ago
|
||
I hope someone can take a look urgently because in our case we can't update Firefox over 2,000 PCs because of it. I imagine there are more people with the same problem that don't know about Bugzilla and simply will change the browser. Sadly, after years promoting Firefox, we will need to to the same if no solution is given.
The reported inbound builds should be a good clue to know what might be the problem and how to solve it.
Obviously I am at your disposal for testing.
Comment 19•10 years ago
|
||
(In reply to Dimas from comment #18)
> I hope someone can take a look urgently because in our case we can't update
> Firefox over 2,000 PCs because of it. I imagine there are more people with
> the same problem that don't know about Bugzilla and simply will change the
> browser. Sadly, after years promoting Firefox, we will need to to the same
> if no solution is given.
>
> The reported inbound builds should be a good clue to know what might be the
> problem and how to solve it.
>
> Obviously I am at your disposal for testing.
Can you provide a testcase and/or detailed STR? Can you reproduce the problem with the page linked in comment #7 ?
Flags: needinfo?(dimas.sc)
| Reporter | ||
Comment 20•10 years ago
|
||
I can't reproduce the problem with the page linked in comment #7 ... but we found what part of the app are causing it! It's an animation with gradients of a button's background. Removing these parts the performance seems normal and the app response is ok.
<StackPanel>
<StackPanel.Resources>
<Storyboard x:Name="myStoryboardBotoEscollir">
<DoubleAnimation Storyboard.TargetName="txtEsculli"
Storyboard.TargetProperty="Opacity"
From="0.0" To="1.0" Duration="0:0:3"
AutoReverse="True"
RepeatBehavior="Forever" />
</Storyboard>
</StackPanel.Resources>
</StackPanel>
<TextBox Height="22" Name="txtEsculli" Width="138" AllowDrop="True" Background="#FFDC000C" Text="<< Esculli una opció" Foreground="White" TextAlignment="Center" FontWeight="Normal" FontFamily="Portable User Interface" IsReadOnly="False" IsTabStop="False" Padding="2">
<TextBox.BorderBrush>
<LinearGradientBrush>
<GradientStop Color="#FFA3AEB9" Offset="0" />
<GradientStop Color="#FF8399A9" Offset="0.375" />
<GradientStop Color="#FF718597" Offset="0.375" />
<GradientStop Color="#FFE2E8EB" Offset="1" />
</LinearGradientBrush>
</TextBox.BorderBrush>
</TextBox>
Flags: needinfo?(dimas.sc)
Comment 21•10 years ago
|
||
(In reply to Dimas from comment #20)
> I can't reproduce the problem with the page linked in comment #7 ... but we
> found what part of the app are causing it! It's an animation with gradients
> of a button's background. Removing these parts the performance seems normal
> and the app response is ok.
This sounds like an issue with silverlight, then? If the extra perf issue is in Firefox, to diagnose it, it'd be helpful to have a testcase we can run - I don't know how to turn the markup you posted into a running app, and even if I did I wouldn't be sure that my version of it reproduces the issue for you.
Flags: needinfo?(dimas.sc)
| Reporter | ||
Comment 22•10 years ago
|
||
The same was working ok with Internet Explorer and Google Chrome (when was compatible with Silverlight), only Firefox is giving this errors.
We will try to create a testcase with this code, but we aren't Silverlight experts, the app was inherited from another person who is no longer with us.
Comment 23•10 years ago
|
||
Hi Gijs, we are cleaning up items that are marked as untriaged, I need to find a component for this - thinking Core Plugins? Do you have any suggestions that would help.
Thanks!
Flags: needinfo?(gijskruitbosch+bugs)
Comment 24•10 years ago
|
||
(In reply to Kanchan Kumari QA from comment #23)
> Hi Gijs, we are cleaning up items that are marked as untriaged, I need to
> find a component for this - thinking Core Plugins? Do you have any
> suggestions that would help.
> Thanks!
Per comment 17 and/or comment 13, this is a graphics issue, but we still need STR / a testcase.
Component: Untriaged → Graphics: Layers
Flags: needinfo?(gijskruitbosch+bugs)
Product: Firefox → Core
Summary: Firefox, Silverlight and big resolutions → Mouse pointer position is inaccurate with internal Silverlight application when using a large screen resolution
Whiteboard: [gfx-noted]
| Reporter | ||
Comment 25•9 years ago
|
||
I created and published a testcase here: http://permisos.somee.com/gt2/gp.aspx
A howto video: https://youtu.be/ZbN_zAuAVK8
You can compare with the same app without the blink effect here: http://permisos.somee.com/gt/gp.aspx
Flags: needinfo?(dimas.sc) → needinfo?(gijskruitbosch+bugs)
Comment 26•9 years ago
|
||
I tried to reproduce with the testcase on both 45 beta and 42, and I can't reproduce on either one. I see minor (5%) CPU churn while the page is open, but no slowness in e.g. mouse hover behaviour. The CPU usage does go away on the alternative testcase (without the button pulsating). I tried to create a profile, but it doesn't seem to contain much useful information... In case it's still useful: https://cleopatra.io/#report=3bf080d47e4bd4f5953ffef582305439b205fcf0 .
Bas, is there enough information here for you or someone else from gfx to take a look? Anything else that would help?
Flags: needinfo?(bas)
| Reporter | ||
Comment 27•9 years ago
|
||
The video is recorded with Firefox 45.0b3. I tried now with 47.0a1 (blank profile) and the same happens: with the blink effect the left buttons don't work as expected. Sorry, I don't understand why you can't reproduce it.
Comment 28•9 years ago
|
||
(In reply to :Gijs Kruitbosch from comment #26)
> I tried to reproduce with the testcase on both 45 beta and 42, and I can't
> reproduce on either one. I see minor (5%) CPU churn while the page is open,
> but no slowness in e.g. mouse hover behaviour. The CPU usage does go away on
> the alternative testcase (without the button pulsating). I tried to create a
> profile, but it doesn't seem to contain much useful information... In case
> it's still useful:
> https://cleopatra.io/#report=3bf080d47e4bd4f5953ffef582305439b205fcf0 .
>
> Bas, is there enough information here for you or someone else from gfx to
> take a look? Anything else that would help?
Not really. I can't reproduce it either. I'm not sure it's caused by bug 1176363 anymore either. With the additional information here that seems a lot less likely, we'd need someone who can reproduce it to at least concern that that patch is at fault in order to try anything at all.
Flags: needinfo?(bas)
Comment 29•9 years ago
|
||
Even I can't reproduce it on the latest nightly 47.0a1. I tried on Benq GL2250-B monitor that supports up to 1920 X 1080p resolution. Tried several times to duplicate it using the URL http://permisos.somee.com/gt2/gp.aspx that Dimas specified but I just could not. I am attaching the screencast recording of the steps.
Dimas,
Is there any other way to duplicate the problem? We are not able to do it using the test case that was specified. In case steps are not correct in the attached recording or there is an alternative way then please let us know.
Flags: needinfo?(dimas.sc)
Comment 30•9 years ago
|
||
Resolved-Incomplete due to time since last communication/update by reporter.
Please feel free to reopen if the error occurs in a current Firefox version and please also include any changes to Steps to Reproduce.
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago → 9 years ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•