Bug on dashboard map render in 223

Hi,

Hope you’re well.

See enclosed image for issue related to map render on dashboard in 223. Maps are covering menu and header on scroll up. Happening on Chrome. Also the case on IE. Windows 10.

Can’t see anything on Launchpad re this issue. Please advise if you would like me to register as a bug.

Cheers

Craig

Version:

2.23

Build revision:

23060

Build date:

2016-08-17 04:39

Hi Craig,

This should have been fixed: https://github.com/dhis2/dhis2-gis/issues/27

We’ll open the issue again, and have a second look.

Thanks for reporting.

Bjørn

···

Bjørn Sandvik

GIS developer, DHIS 2

University of Oslo

www.dhis2.org

On Thu, Aug 25, 2016 at 12:06 PM, Craig Hollingsworth craig.hollingsworth@nrc.no wrote:

Hi,

Hope you’re well.

See enclosed image for issue related to map render on dashboard in 223. Maps are covering menu and header on scroll up. Happening on Chrome. Also the case on IE. Windows 10.

Can’t see anything on Launchpad re this issue. Please advise if you would like me to register as a bug.

Cheers

Craig

Version:

2.23

Build revision:

23060

Build date:

2016-08-17 04:39


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

Bjørn Sandvik

GIS developer, DHIS 2

University of Oslo

www.dhis2.org

Hi Craig,

I just tested the latest 2.23 version (revision 23073) on my computer and the dashboard maps are not hidden (tested in Chrome and Firefox):


Could you inspect the header bar and report the z-index you get?


Bjørn

···

Bjørn Sandvik

GIS developer, DHIS 2

University of Oslo

www.dhis2.org

On Thu, Aug 25, 2016 at 3:27 PM, Bjørn Sandvik bjorn@dhis2.org wrote:

Hi Craig,

This should have been fixed: https://github.com/dhis2/dhis2-gis/issues/27

We’ll open the issue again, and have a second look.

Thanks for reporting.

Bjørn


Bjørn Sandvik

GIS developer, DHIS 2

University of Oslo

www.dhis2.org

On Thu, Aug 25, 2016 at 12:06 PM, Craig Hollingsworth craig.hollingsworth@nrc.no wrote:

Hi,

Hope you’re well.

See enclosed image for issue related to map render on dashboard in 223. Maps are covering menu and header on scroll up. Happening on Chrome. Also the case on IE. Windows 10.

Can’t see anything on Launchpad re this issue. Please advise if you would like me to register as a bug.

Cheers

Craig

Version:

2.23

Build revision:

23060

Build date:

2016-08-17 04:39


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp


Bjørn Sandvik

GIS developer, DHIS 2

University of Oslo

www.dhis2.org

Bjørn Sandvik

GIS developer, DHIS 2

University of Oslo

www.dhis2.org

Hi Bjorn,

Hope you’re well. Many thanks for following up. I’ve updated our test system to the latest build. I still get the problem. I played around and think it is because we are using the custom CSS app to change the header colour.

Looks like it’s the z-index property that is causing the issue. If I do auto or inherit then header paints behind all as scroll up. At 10, which it was before, it seems to just affect maps. I’ve set to 9999 and now paints ok.

Not sure what would have changed between 222 and 223 to have this impact. Perhaps the new map layers?

Cheers

Craig

CSS we are using is:

#header

{

background-color: #3c3c3c;

height: 44px;

position: fixed;

z-index: 10;

top: 0px;

left: 0px;

right: 0px;

box-shadow: 0 0 3px #000000;

}

.header-bar

{

background-color: #3c3c3c;

}

···

Hi Craig,

I just tested the latest 2.23 version (revision 23073) on my computer and the dashboard maps are not hidden (tested in Chrome and Firefox):

Could you inspect the header bar and report the z-index you get?

Bjørn

Bjørn Sandvik

GIS developer, DHIS 2

University of Oslo

www.dhis2.org

On Thu, Aug 25, 2016 at 3:27 PM, Bjørn Sandvik bjorn@dhis2.org wrote:

Hi Craig,

This should have been fixed: https://github.com/dhis2/dhis2-gis/issues/27

We’ll open the issue again, and have a second look.

Thanks for reporting.

Bjørn

Bjørn Sandvik

GIS developer, DHIS 2

University of Oslo

www.dhis2.org

On Thu, Aug 25, 2016 at 12:06 PM, Craig Hollingsworth craig.hollingsworth@nrc.no wrote:

Hi,

Hope you’re well.

See enclosed image for issue related to map render on dashboard in 223. Maps are covering menu and header on scroll up. Happening on Chrome. Also the case on IE. Windows 10.

Can’t see anything on Launchpad re this issue. Please advise if you would like me to register as a bug.

Cheers

Craig

Version:

2.23

Build revision:

23060

Build date:

2016-08-17 04:39


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

Bjørn Sandvik

GIS developer, DHIS 2

University of Oslo

www.dhis2.org

Bjørn Sandvik

GIS developer, DHIS 2

University of Oslo

www.dhis2.org

Hi Craig,

Good that you found a fix :slight_smile:

The reason for the change between 2.23 and 2.24 is that we switched map library from OpenLayers to Leaflet. Leaflet uses z-indexes up to 1000 for layer handling.

Bjørn

···

On Tue, Aug 30, 2016 at 2:32 PM, Craig Hollingsworth craig.hollingsworth@nrc.no wrote:

Hi Bjorn,

Hope you’re well. Many thanks for following up. I’ve updated our test system to the latest build. I still get the problem. I played around and think it is because we are using the custom CSS app to change the header colour.

Looks like it’s the z-index property that is causing the issue. If I do auto or inherit then header paints behind all as scroll up. At 10, which it was before, it seems to just affect maps. I’ve set to 9999 and now paints ok.

Not sure what would have changed between 222 and 223 to have this impact. Perhaps the new map layers?

Cheers

Craig

CSS we are using is:

#header

{

background-color: #3c3c3c;

height: 44px;

position: fixed;

z-index: 10;

top: 0px;

left: 0px;

right: 0px;

box-shadow: 0 0 3px #000000;

}

.header-bar

{

background-color: #3c3c3c;

}

From: Bjørn Sandvik [mailto:bjorn@dhis2.org]

Sent: 29 August 2016 07:23

To: Craig Hollingsworth craig.hollingsworth@nrc.no

Cc: DHIS 2 developers dhis2-devs@lists.launchpad.net

Subject: Re: [Dhis2-devs] Bug on dashboard map render in 223

Hi Craig,

I just tested the latest 2.23 version (revision 23073) on my computer and the dashboard maps are not hidden (tested in Chrome and Firefox):

Could you inspect the header bar and report the z-index you get?

Bjørn

Bjørn Sandvik

GIS developer, DHIS 2

University of Oslo

www.dhis2.org

On Thu, Aug 25, 2016 at 3:27 PM, Bjørn Sandvik bjorn@dhis2.org wrote:

Hi Craig,

This should have been fixed: https://github.com/dhis2/dhis2-gis/issues/27

We’ll open the issue again, and have a second look.

Thanks for reporting.

Bjørn

Bjørn Sandvik

GIS developer, DHIS 2

University of Oslo

www.dhis2.org

On Thu, Aug 25, 2016 at 12:06 PM, Craig Hollingsworth craig.hollingsworth@nrc.no wrote:

Hi,

Hope you’re well.

See enclosed image for issue related to map render on dashboard in 223. Maps are covering menu and header on scroll up. Happening on Chrome. Also the case on IE. Windows 10.

Can’t see anything on Launchpad re this issue. Please advise if you would like me to register as a bug.

Cheers

Craig

Version:

2.23

Build revision:

23060

Build date:

2016-08-17 04:39


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

Bjørn Sandvik

GIS developer, DHIS 2

University of Oslo

www.dhis2.org

Bjørn Sandvik

GIS developer, DHIS 2

University of Oslo

www.dhis2.org

Bjørn Sandvik

GIS developer, DHIS 2

University of Oslo

www.dhis2.org