Posts

Showing posts with the label problem

jQuery UI plugin conflict with dot net's default jQuery UI

A very short note on something I came across today (I might elaborate on this later..) In a dot Net application, I found that when I tried to use the jQuery UI Autocomplete plugin, there was a conflict. The errors and messages that I came across in the console of Chrome, indicated that there was an API mismatch in the jQuery UI library and the jQuery UI Autocomplete plugin. After a bit of inspection, I found out that dot Net had it's own version of jQuery UI, which actually was a concatenation of many jQuery UI plugins along with the jQuery UI core (even though it was named as jquery-ui.js!). It was pretty straightforward to fix this - I just had to get rid of one of them, either the dot Net's version or the original jQuery UI's version. In my case, since it was a dot Net application, I thought it might be better to retain Microsoft's copy of  jQuery UI!

Drag lag or drag delay in Fedora 17

I just installed Fedora 17 on my laptop. After doing that I noticed that I was not about to click and drag stuff. Experimenting with it a little more, I figured that "dragging" would work only if I hold the first click for a few seconds, i.e: if I want to drag something around, I had to click and wait for the click to register and then I could drag. This was a pain since you cannot select text, navigate maps (Google Maps), resize or move windows etc. The solution was a pretty trivial one though. After a bit of looking around, I came across the mouse and touchpad configuration tool in Gnome. There is a slider for configuring the threshold of the drag and drop. Larger threshold would mean you need to hold the initial click for a shorter duration while smaller threshold would lead to a more prominent drag lag/delay. An important thing to note would be that this won't work until you restart the X server. So, either log out and log in or restart your system.