Code Monkey home page Code Monkey logo

Comments (8)

SokoloffA avatar SokoloffA commented on August 17, 2024

Don't worry about it. I know how to fix it. We discussed it with Kuzma
some time ago. I just forgot to do it. I'll fix it tomorrow.

2013/11/1 PCMan [email protected]

I noted some UI glitches about panel sizing.
Currently the height of the panel seems to be determined by its content.
When I open a new window, a new task button is created in the panel.
Then, the icon and text of the task button may have more height than the
panel itself, this causes automatic resize of the panel and the height of
the panel grows.
When I close the window, the task button is removed from the panel.
The max height of the remaing plugins is smaller. So the panel is again
resized with its height shrinked, causing fluctuation of panel height and
visual disturbance.

How to reproduce:

  1. close all windows, add mainmenu, desktopswitch, pulseaudio, and
    calendar to the panel.
  2. Use fusion-qt4 style.
  3. open a new window, the height of panel may grow sometimes
  4. close the window again, then the height of the panel shrinks.

Maybe we should set the height of the panel manually?


Reply to this email directly or view it on GitHubhttps://github.com//issues/6
.

Best regards,
Alexander.

from lxqt-panel.

PCMan avatar PCMan commented on August 17, 2024

Just tested the latest code in git but it still has the problem.
When the first taskbar button is created, the panel height grows.

from lxqt-panel.

SokoloffA avatar SokoloffA commented on August 17, 2024

How are you tested? Is you installed plugins before? I changed the taskbar plugin code, if you don't installed it, old version of the plugin used.

from lxqt-panel.

PCMan avatar PCMan commented on August 17, 2024

I delete all of the old libs and reinstalled the lastes code. The problem is only partially fixed.
That means, it cannot be reproduced most of the time, but it's application-specific.
For example, if I launch Roxterm or Firefox, the panel height will increase when the window shows up.
When I launch pcmanfm-qt, lxqt-about, or some other tools, it panel height does not change at all.

from lxqt-panel.

PCMan avatar PCMan commented on August 17, 2024

OK, it's caused by different sizes of window icons.
When I turn off icons of the task bar and show window titles only, the bug cannot be reproduced anymore.
So I think it's a problem related to window icon.

from lxqt-panel.

jleclanche avatar jleclanche commented on August 17, 2024

@PCMan @SokoloffA status on this?

from lxqt-panel.

PCMan avatar PCMan commented on August 17, 2024

This problem still exists here.
2014/5/27 上午9:31 於 "Jerome Leclanche" [email protected] 寫道:

@PCMan https://github.com/PCMan @SokoloffA
https://github.com/SokoloffA status on this?


Reply to this email directly or view it on GitHub
#6 (comment).

from lxqt-panel.

paulolieuthier avatar paulolieuthier commented on August 17, 2024

After a significant amount of hours of testing and hacking, I say that the problem is not the size of icons. @PCMan, when I open pcmanfm-qt the panel height doesn't change here either, but if I open a folder in pcmanfm-qt, the panel height changes!! Doesn't it happen with you too? Like you said in the begging, "the height of the panel seems to be determined by its content". Specifically, the taskbar's content. Why doesn't lxqt's panel have the config option to set its height, like KDE, Xfce, Gnome2...?

If you set a maximum height to the taskbar buttons, the problem seems to be fixed. But we don't want to set a maximum height for them, right? If the panel had a maximum height, the problem would be solved. I could make a PR for that.

from lxqt-panel.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.