leszeklesner (Leszek Lesner)
User

Projects

User does not belong to any projects.

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Wednesday

  • Clear sailing ahead.

User Details

User Since
Apr 18 2017, 10:39 AM (137 w, 6 d)
Availability
Available

Recent Activity

Sep 13 2018

leszeklesner added a comment to D15454: [sftp] treat all errors as errors.

Fixes the issues I had with sftp hanging in certain situations. (I had to kill sftp.so in the past for accessing sftp shares again)

Sep 13 2018, 10:12 AM

Sep 12 2018

leszeklesner accepted D15430: Open Web Shorcuts KCM from Web Shortcut Runner config.
Sep 12 2018, 12:09 PM · Plasma
leszeklesner accepted D15427: [Spellchecker Runner] Add button to open Spell Check KCM.
Sep 12 2018, 11:26 AM · Plasma

Mar 25 2018

leszeklesner added a comment to T8252: Replace Ubiquity with Calamares in 19.10.

What do you want to know? Neptune & Netrunner aswell as others are using Calamares very succesfully.
You can find example configurations with branding here:
https://github.com/NeptuneOS/calamares-neptune
and here:
https://github.com/netrunner-desktop/calamares-desktop

Mar 25 2018, 6:56 PM · Kubuntu

Mar 20 2018

leszeklesner added a comment to D11482: Export Translations to right filename.

...
Leszek which were the strings that renderered incorrectly?
Have you tried renaming your local .po file to see if it does fix things?

Mar 20 2018, 4:50 PM · Plasma

Mar 19 2018

leszeklesner requested review of D11482: Export Translations to right filename.
Mar 19 2018, 12:54 PM · Plasma

Dec 21 2017

leszeklesner added a comment to D9315: Ship a dbus service file.

I don't have a dev account.

Dec 21 2017, 11:01 AM

Dec 13 2017

leszeklesner created D9315: Ship a dbus service file.
Dec 13 2017, 4:40 PM

Jun 22 2017

leszeklesner created D6345: Add Categories to desktop file.
Jun 22 2017, 4:43 PM

May 23 2017

leszeklesner updated the diff for D5942: Check if plymouth file is known to update-alternatives before setting.

Fixed qDebug typo.

May 23 2017, 3:03 PM · Plasma
leszeklesner created D5943: Set kauth timeout to timeout for the update-initramfs -u process.
May 23 2017, 11:35 AM · Plasma
leszeklesner created D5942: Check if plymouth file is known to update-alternatives before setting.
May 23 2017, 9:59 AM · Plasma

Apr 25 2017

leszeklesner removed reviewers for D5572: History (recentfolders) not working / folder never created: schweingruber, sandsmark.

@leszeklesner , do you have a commit account? If not, I can commit it (with you as author of course)

Apr 25 2017, 4:26 PM
leszeklesner updated the diff for D5490: Only follow mouse when moved (Fixes Bug #372635).

Updated to solution by qi437103 which implements a mousehelper to get the global mouse position so we can distinguish between mouse being inside the resultslistview or outside

Apr 25 2017, 9:35 AM · Plasma

Apr 24 2017

leszeklesner updated the summary of D5572: History (recentfolders) not working / folder never created.
Apr 24 2017, 9:28 PM
leszeklesner added a reviewer for D5572: History (recentfolders) not working / folder never created: schweingruber.
Apr 24 2017, 9:22 PM
leszeklesner created D5572: History (recentfolders) not working / folder never created.
Apr 24 2017, 9:18 PM

Apr 20 2017

leszeklesner added a comment to D5490: Only follow mouse when moved (Fixes Bug #372635).

what about set moved variable according to global mousre position instead? I know this is possible with QCursor, but not sure if it's possible at qml side, though. I haven't looked at the code yet, but if there's c++ component, we can add a qobject derived class calling QCursor::pos(), and expose it to qml.

Apr 20 2017, 5:47 PM · Plasma
leszeklesner added a comment to D5490: Only follow mouse when moved (Fixes Bug #372635).

If I have the mouse outside the window, and then deliberately move the mouse in to select something, by design, this won't update the index the first time.

It'll fix your bug, sure - but we're knowingly introducing a different bug.

Apr 20 2017, 2:29 PM · Plasma

Apr 18 2017

leszeklesner updated the summary of D5490: Only follow mouse when moved (Fixes Bug #372635).
Apr 18 2017, 8:59 PM · Plasma
leszeklesner added a comment to D5490: Only follow mouse when moved (Fixes Bug #372635).

You can do this:

property bool moved: false
onMovedChanged: if (moved) {
    listView.currentIndex = index
}
onPositionChanged: {
...
moved = true;
}

I tried this, but onPositionChanged doesn't fire for me at all in qt 4.8.0.. Is this a bug?

Is it possible to attach the property __moved to the parent ListView dynamically, so it can be checked by all delegates?

Apr 18 2017, 1:43 PM · Plasma
leszeklesner updated the diff for D5490: Only follow mouse when moved (Fixes Bug #372635).
Apr 18 2017, 1:26 PM · Plasma
leszeklesner added a comment to D5490: Only follow mouse when moved (Fixes Bug #372635).

Yes, and you have this boolean separately for each delegate.

So I can see how this supresses that initial selection in your bug report; but surely it will also supress every other normal case after that.

When we move from one delegate to another the first time from the point of view of the delegate we're moving into:

you get an onContainsMouseChanged -  _moved is falsed. We set it to true, but otherwise do nothing
we get a onPositionChanged - we set _moved to true

We're not going to get another onContainsMouseChanged unless there's a bug in Qt.

Apr 18 2017, 12:35 PM · Plasma
leszeklesner added a comment to D5490: Only follow mouse when moved (Fixes Bug #372635).

Yes, I can see what the code is doing, but I don't see how that means it works.

will be then set to true so that when you move the mouse on an item onContainsMouseChanged is called again and because __moved is now true sets the index accordingly.

When you move a mouse on an item (without leaving and entering again) why would onContainsMouseChanged be called again - unless you exited and left again.

Apr 18 2017, 12:10 PM · Plasma
leszeklesner added a comment to D5490: Only follow mouse when moved (Fixes Bug #372635).

Copying my reply from RB, to keep this in one place:

Sorry for being dim, but I don't understand how this is meant to work.

Apr 18 2017, 11:03 AM · Plasma
leszeklesner created D5490: Only follow mouse when moved (Fixes Bug #372635).
Apr 18 2017, 10:43 AM · Plasma