Skip to content

[UI] Horrible white square #15127

Closed
Closed

Description

@williamdes

Describe the bug

image

This occurs for some reason a some time but is very annoying ...
Use designer and navigate between pages

Activity

  1. added
    Bug
    UI
    on Mar 29, 2019
  2. williamdes commented on Mar 29, 2019

    @williamdes
    MemberAuthor
    /**
     * Makes the breadcrumbs and the menu bar float at the top of the viewport
     */
    $(function () {
        if ($('#floating_menubar').length && $('#PMA_disable_floating_menubar').length === 0) {
            var left = $('html').attr('dir') === 'ltr' ? 'left' : 'right';
            $('#floating_menubar')
                .css('margin-' + left, $('#pma_navigation').width() + $('#pma_navigation_resizer').width())
  3. williamdes commented on Mar 29, 2019

    @williamdes
    MemberAuthor

    ./js/navigation.js

            $('#floating_menubar, #pma_console')
                .css('margin-' + this.left, (pos + resizer_width) + 'px');
  4. imdhruvgupta commented on Mar 30, 2019

    @imdhruvgupta
    Contributor

    Hi @williamdes , I am not able to reproduce this bug. Could you please provide some steps to reproduce?

  5. williamdes commented on Mar 30, 2019

    @williamdes
    MemberAuthor

    @imdhruvgupta unfortunately no, I can not find a reliable way to reproduce this for now
    You need to do some browsing and hope to find the issue, or best option: understand the code that generates the margin-left

  6. williamdes commented on Apr 26, 2019

    @williamdes
    MemberAuthor

    Demo servers (root, no password)

    @imdhruvgupta

    • Go to any database, do to designer, then reload the page using F5 and chose reload in the designer left bar
      OR
    • Go to any database, do to designer, then reload the page using F5 and navigate to structure
  7. msk4862 commented on Aug 9, 2019

    @msk4862

    @williamdes I'm new here, So, can you please tell me how to test(see) my changes.
    Thanks in advance.

  8. williamdes commented on Aug 11, 2019

    @williamdes
    MemberAuthor

    @msk4862 Follow #15127 (comment) to reproduce and make the fix then try to reproduce, if you can not reproduce then you fixed the bug and can create a pull-request.

  9. msk4862 commented on Aug 11, 2019

    @msk4862

    @williamdes That much I now, But what I wanted to know was will my fixes be visible on Demo servers ( as mentioned in #15127 (comment) )

    or Do I have to setup the phpmyadmin locally on my machine to check if that bug is fixed. (If yes how? because there is no setup instructions availbale)

    ( I know its a very silly question but I'm a beginner. So, a little help will help me a lot)

  10. williamdes commented on Aug 11, 2019

    @williamdes
    MemberAuthor

    @msk4862 You need to create a local phpmyadmin installation
    Follow the steps:

    • Fork the repository (fork button on this page)
    • Clone your fork of the repository
    • Create a new branch from QA_4_9 for your fix
    • Try to fix the issue
    • Commit the changes (use the --signoff option to add your signoff line in the commit body, please use your real name (this option is an agreement to our policy))
    • Create a pull-request to the QA_4_9 branch
  11. added
    has-pr
    on Aug 15, 2019
  12. 13 remaining items

  13. williamdes commented on Aug 22, 2019

    @williamdes
    MemberAuthor

    image
    image

    Okay I will test your PR
    Thanks @gurrrung :)

  14. added 2 commits that reference this issue on Sep 8, 2019
    1056e65
    983a49d
  15. removed this from the 4.9.1 milestone on Sep 8, 2019
  16. williamdes commented on Sep 8, 2019

    @williamdes
    MemberAuthor

    I reverted everything since this is too much of an issue to be kept as is

    If you update your fix I will do a lot more testing so it does not happen again
    Can you re-do the PR @gurrrung ?

  17. rahgurung commented on Sep 8, 2019

    @rahgurung
    Contributor

    Yeah sure. I will do it soon once I get time. In the meantime if someone wants to take this issue, feel free to.

  18. ankush-0x90 commented on Oct 6, 2019

    @ankush-0x90
    Contributor

    Hie @williamdes and @gurrrung, I noticed some strange behaviour too before reloading and after reloading the designer page. Attaching screenshots for more details about what I observed, in first screenshot (body) have padding-top to add some space for (floating-menubar) while (floating-menubar) is position fixed. In second screenshot that is after reloading it empties up the (floating-menubar).

    Coming to the point : my approach added padding body and positioning to floating navbar, the issue is solved (further tests needs to be done though) but don't know its correctness

    Before Reloading

    After reloading

  19. added this to the 4.9.2 milestone on Nov 11, 2019
  20. added 3 commits that reference this issue on Nov 11, 2019
    5bd9c9d
    89e3249
    5b3ea74
  21. locked as resolved and limited conversation to collaborators on Nov 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

BugUIgood first issuehas-prhelp wantednewbie

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions