You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Christoph Grothaus (Created) (JIRA)" <ji...@apache.org> on 2012/02/24 11:13:48 UTC
[jira] [Created] (WICKET-4428) Wicket DebugBar: add CSS property
"z-index" so it will show above other elements that use z-index
Wicket DebugBar: add CSS property "z-index" so it will show above other elements that use z-index
-------------------------------------------------------------------------------------------------
Key: WICKET-4428
URL: https://issues.apache.org/jira/browse/WICKET-4428
Project: Wicket
Issue Type: Improvement
Components: wicket-devutils
Affects Versions: 1.5.4
Reporter: Christoph Grothaus
The wicket debugbar may fail to display if the webpage has a <div> element or any other component at the top that uses the CSS property "z-index". As the debug bar <div> element has no z-index, it will be under that other element, hence not visible.
Solution: add a line " z-index: 4096;" to wicket-debugbar.css.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (WICKET-4428) Wicket DebugBar: add CSS property
"z-index" so it will show above other elements that use z-index
Posted by "Martin Grigorov (Resolved) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-4428?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Grigorov resolved WICKET-4428.
-------------------------------------
Resolution: Won't Fix
Adding this zIndex wont solve the problem completely. There always be an application which has an element with higher value of its zIndex and then someone else will report the same problem with even higher value for DebugBar's zIndex...
The simplicity of CSS is that you can target any element and manipulate its properties. So, I think it is better the user's application to tweak the zIndex in their own .css file depending on their own needs.
> Wicket DebugBar: add CSS property "z-index" so it will show above other elements that use z-index
> -------------------------------------------------------------------------------------------------
>
> Key: WICKET-4428
> URL: https://issues.apache.org/jira/browse/WICKET-4428
> Project: Wicket
> Issue Type: Improvement
> Components: wicket-devutils
> Affects Versions: 1.5.4
> Reporter: Christoph Grothaus
> Priority: Trivial
> Attachments: fix-WICKET-4428.patch
>
> Original Estimate: 0.5h
> Remaining Estimate: 0.5h
>
> The wicket debugbar may fail to display if the webpage has a <div> element or any other component at the top that uses the CSS property "z-index". As the debug bar <div> element has no z-index, it will be under that other element, hence not visible.
> Solution: add a line " z-index: 4096;" to wicket-debugbar.css.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (WICKET-4428) Wicket DebugBar: add CSS property
"z-index" so it will show above other elements that use z-index
Posted by "Christoph Grothaus (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-4428?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13218059#comment-13218059 ]
Christoph Grothaus commented on WICKET-4428:
--------------------------------------------
@Martin: you are right regarding that the proposed value for z-index may be too low in specific cases. But taking that as an argument for not adding some z-index value to wicket-debugbar.css at all -- I don't know...
Many web designers out there and many web frameworks use z-index values in the hundreds or lower thousands. I stumbled over this issue when using the Wicket debug bar in my HTML page together with the popular Twitter Bootstrap CSS framework (which uses a z-index of 1030 for the top navigation). I wondered where that funny debug bar might be...
Of course you can get around it by supplying your own CSS -- which is what I did --, but I think we can help other wicket developers by choosing a reasonable default z-index value, so they don't have to wonder about this.
The only question IMHO is what that reasonable default value should be. My first proposal of 4096 was a fully random choice. But maybe we can agree on 100000? That should solve 98% of all cases where the debug bar does not show up initially.
> Wicket DebugBar: add CSS property "z-index" so it will show above other elements that use z-index
> -------------------------------------------------------------------------------------------------
>
> Key: WICKET-4428
> URL: https://issues.apache.org/jira/browse/WICKET-4428
> Project: Wicket
> Issue Type: Improvement
> Components: wicket-devutils
> Affects Versions: 1.5.4
> Reporter: Christoph Grothaus
> Priority: Trivial
> Attachments: fix-WICKET-4428.patch
>
> Original Estimate: 0.5h
> Remaining Estimate: 0.5h
>
> The wicket debugbar may fail to display if the webpage has a <div> element or any other component at the top that uses the CSS property "z-index". As the debug bar <div> element has no z-index, it will be under that other element, hence not visible.
> Solution: add a line " z-index: 4096;" to wicket-debugbar.css.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (WICKET-4428) Wicket DebugBar: add CSS property
"z-index" so it will show above other elements that use z-index
Posted by "Christoph Grothaus (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-4428?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Christoph Grothaus updated WICKET-4428:
---------------------------------------
Priority: Trivial (was: Major)
> Wicket DebugBar: add CSS property "z-index" so it will show above other elements that use z-index
> -------------------------------------------------------------------------------------------------
>
> Key: WICKET-4428
> URL: https://issues.apache.org/jira/browse/WICKET-4428
> Project: Wicket
> Issue Type: Improvement
> Components: wicket-devutils
> Affects Versions: 1.5.4
> Reporter: Christoph Grothaus
> Priority: Trivial
> Original Estimate: 0.5h
> Remaining Estimate: 0.5h
>
> The wicket debugbar may fail to display if the webpage has a <div> element or any other component at the top that uses the CSS property "z-index". As the debug bar <div> element has no z-index, it will be under that other element, hence not visible.
> Solution: add a line " z-index: 4096;" to wicket-debugbar.css.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (WICKET-4428) Wicket DebugBar: add CSS property
"z-index" so it will show above other elements that use z-index
Posted by "Christoph Grothaus (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-4428?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Christoph Grothaus updated WICKET-4428:
---------------------------------------
Attachment: fix-WICKET-4428.patch
Patch (produced by Git) that fixes this feature request.
Please kindly review this patch.
> Wicket DebugBar: add CSS property "z-index" so it will show above other elements that use z-index
> -------------------------------------------------------------------------------------------------
>
> Key: WICKET-4428
> URL: https://issues.apache.org/jira/browse/WICKET-4428
> Project: Wicket
> Issue Type: Improvement
> Components: wicket-devutils
> Affects Versions: 1.5.4
> Reporter: Christoph Grothaus
> Priority: Trivial
> Attachments: fix-WICKET-4428.patch
>
> Original Estimate: 0.5h
> Remaining Estimate: 0.5h
>
> The wicket debugbar may fail to display if the webpage has a <div> element or any other component at the top that uses the CSS property "z-index". As the debug bar <div> element has no z-index, it will be under that other element, hence not visible.
> Solution: add a line " z-index: 4096;" to wicket-debugbar.css.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira