Filtering elements in list doesn't work in other browsers, only FF

Bug #537672 reported by Saptarshi on 2010-03-11
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
DHIS
Medium
Saptarshi

Bug Description

The filtering of elements in lists is not working in any other browser than Firefox. This is basically because all browsers ignore CSS styles inside of lists or list elements.

Related branches

Saptarshi (sunbiz) wrote :

We have to recreate the elements in the list to fix this... This should be point of discussion because it could mean performance issue if the list if larger than 500-odd elements and the computer running it has less RAM.

Will be recreating list elements as part of the fix and then we can test the performance effects of this solution

Changed in dhis2:
assignee: nobody → Saptarshi (sunbiz)
importance: Undecided → Medium
milestone: none → 2.0.4
status: New → In Progress
Saptarshi (sunbiz) wrote :

Added changes to make it cross-browser. Todo: check if filterList method is used on page and only then create hidden select boxes for filtering

Changed in dhis2:
status: In Progress → Fix Committed

I am reopening this bug report, as I am still experiencing issues with filtering. In FireFox, on a relatively slow machine, the browser completely hangs for up to a minute. Opera on Ubuntu sometimes only displays the first few characters and then behaves very strangely when filtering on names in Indicators and Data elements.

Changed in dhis2:
status: Fix Committed → Incomplete

On Thu, Apr 22, 2010 at 8:11 AM, jason.p.pickering <
<email address hidden>> wrote:

> I am reopening this bug report, as I am still experiencing issues with
> filtering. In FireFox, on a relatively slow machine, the browser
> completely hangs for up to a minute. Opera on Ubuntu sometimes only
> displays the first few characters and then behaves very strangely when
> filtering on names in Indicators and Data elements.
>
> ** Changed in: dhis2
> Status: Fix Committed => Incomplete
>
> --
>

The approach we use now is to move options back and from a hidden list. It
works on all browsers but Saptarshi has been concerned about performance. It
might be that the memory load gets too high on slow machines.

Yeah, it behaves differently in different parts of the application,
and in different browsers. Opera seems to be able to handle in a bit
better, but still causes very high CPU loads on my old MacBook. Using
the copy/paste trick really helps. It would seem that there needs to
be a bit of delay when the filter is executed, for instance 300 ms (or
some value after a bit of experimentation) the user stops typing, or
after the user enters a carriage return. I am not sure what the
utility of filtering while the user is type is. Normally, you know in
your head what the filter is (mumps, leprosy, etc). You would want to
type this, and then execute the filter. If this was implemented,
pagination would be a nice to have, but in my case Opera reloads a 2.3
MB DOM each time. The dataset filtering seems to be particularly
troublesome.

2010/4/22 Lars Helge Øverland <email address hidden>:
> On Thu, Apr 22, 2010 at 8:11 AM, jason.p.pickering <
> <email address hidden>> wrote:
>
>> I am reopening this bug report, as I am still experiencing issues with
>> filtering. In FireFox, on a relatively slow machine, the browser
>> completely hangs for up to a minute. Opera on Ubuntu sometimes only
>> displays the first few characters and then behaves very strangely when
>> filtering on names in Indicators and Data elements.
>>
>> ** Changed in: dhis2
>>       Status: Fix Committed => Incomplete
>>
>> --
>>
>
> The approach we use now is to move options back and from a hidden list. It
> works on all browsers but Saptarshi has been concerned about performance. It
> might be that the memory load gets too high on slow machines.
>
> --
> Filtering elements in list doesn't work in other browsers, only FF
> https://bugs.launchpad.net/bugs/537672
> You received this bug notification because you are a member of DHIS 2
> developers, which is subscribed to DHIS.
>
> Status in DHIS 2 - District Health Information Software: Incomplete
>
> Bug description:
> The filtering of elements in lists is not working in any other browser than Firefox. This is basically because all browsers ignore CSS styles inside of lists or list elements.
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to     : <email address hidden>
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>

--
--
Jason P. Pickering
email: <email address hidden>
tel:+260968395190

Changed in dhis2:
status: Incomplete → Fix Committed
Saptarshi (sunbiz) on 2011-02-24
Changed in dhis2:
status: Fix Committed → Opinion
Changed in dhis2:
status: Opinion → Fix Committed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers