lp://staging/~lubuntu-dev/lxde/lxqt-panel
- Get this branch:
- bzr branch lp://staging/~lubuntu-dev/lxde/lxqt-panel
Branch merges
Branch information
Import details
This branch is an import of the HEAD branch of the Git repository at https://github.com/lxde/lxqt-panel.git.
Last successful import was .
Recent revisions
- 1288. By Tsu Jan
-
Set the initial task button text (and icon) correctly (#454)
Fixes https:/
/github. com/lxde/ lxqt/issues/ 1303. Detailed explanation:
When a window shows up, the signal `KWindowSystem:
:stackingOrderC hanged` is emitted *before* `KWindowSystem: :windowAdded` . The former signal is connected to the function `LXQtTaskBar: :refreshTaskLis t()`, which calls the functions `LXQtTaskBar: :addWindow( )` and `LXQtTaskBar: :removeWindow( )` to add and remove monitored windows. Connecting `LXQtTaskBar:
:refreshTaskLis t()` to the signal `KWindowSystem: :stackingOrderC hanged` not only is redundant but also causes a problem: (1) It's redundant because the job of adding *new* windows should be done by `LXQtTaskBar:
:onWindowAdded( )` connected to the signal `KWindowSystem: :windowAdded` . However, with the current code, `LXQtTaskBar: :addWindow( )` is never called by that function because the new window is already added through `KWindowSystem: :stackingOrderC hanged` . Similarly, `LXQtTaskBar: :onWindowRemove d()` should be responsible for removing windows by being connected to the signal `KWindowSystem: :windowRemoved` . (2) More importantly, as the window name can change in the short interval between the emissions of `KWindowSystem:
:stackingOrderC hanged` and `KWindowSystem: :windowAdded` , the corresponding taskbar button may get a wrong text. The reason is that the signal `WindowSystem: :windowChanged` announces changes only starting from the emission of `KWindowSystem: :windowAdded` . (Theoretically, the initial icon might also be wrong but that's rarer). Here, the connection to `KWindowSystem:
:stackingOrderC hanged` is removed, so that the initial task button text/icon is set correctly. In this way, several useless calls to `LXQtTaskBar: :refreshTaskLis t()` are also prevented when a window is shown/closed or focused/unfocused. - 1287. By notname000 <email address hidden>
-
Update Simplified Chinese translations (#456)
* Add Simplified Chinese translations
* Add Simplified Chinese translations
* Add Simplified Chinese translations
* Add Simplified Chinese translations
* Add Simplified Chinese translations
* Add Simplified Chinese translations
* Add Simplified Chinese translations
* Add Simplified Chinese translations
* Add Simplified Chinese translations
* Update networkmonitor_
zh_CN.desktop - 1286. By Balló György
-
Fix worldclock in panel.conf
This fixes the change introduced in a014248fdc9fbbd
0972fb44b8b5d17 76301a889b - 1283. By Luís Pereira
-
Prevent possible container detachments
Deep copies are expensive and not needed here.
- 1282. By Luís Pereira
-
Drop Qt foreach
Replaced by the ranged-based for loop.
Qt 5.7.1 is required. We use qAsConst().
The replacement brings some performance improvements. Container detachments
and container anti-pattern use were fixed.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)