multitoys / css-x-fire

Automatically exported from code.google.com/p/css-x-fire
0 stars 0 forks source link

Using the arrow keys within Firebug causes PhpStorm to hang #17

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Use FireBug withing Firefox
2. Select a number-value
3. Use the keyboard arrows (up and down) for changing a value

Excepted: Within PhpStorm the value should be usable. Instead, the new value is 
changing the whole time, until it has reached the value I've stopped modifying 
with the cursor keys.

It seems that the communication between Firefox and PhpStorm is to slow to get 
this. And PhpStorm does not react as fast as it should (nearly unusable), until 
the value within CSS-X-Fire (within the Tab of CSS-X-Fire) is the one of 
Firebug.

The operating system is Windows 7 Professional. PhpStorm version 2.0.1 and 
Firefox is at Version 4.0.

To make absolutely clear:

CSS-X-Fire shows:

height: 106px
height: 105px
height: 104px

down to the value I have scaled it wihtin Firebug (and up again)...
thx for reading

Original issue reported on code.google.com by patrick....@googlemail.com on 1 Apr 2011 at 9:03

GoogleCodeExporter commented 8 years ago
Thank you for your detailed report.

What happens is that every time the value is changed Firebug emits an event. 
The CSS-X-Fire extension listens for these events and simple makes an 
XmlHttpRequest to the IDE for each one of these. The problem is not 
communication speed - its more about the increasing queue of processing that 
occurs within the IDE for each one of these events. The larger the project the 
larger the impact...

I will need to implement some kind of throttling or timer to avoid DOS:ing when 
using the arrow keys.

Original comment by ronnie.k...@gmail.com on 1 Apr 2011 at 9:19

GoogleCodeExporter commented 8 years ago
Fixed for next release (1.16)

Original comment by ronnie.k...@gmail.com on 2 Apr 2011 at 1:05