Closed guihkx closed 1 year ago
Wow that's so weird, I don't really see anything in that commit that could cause this...
It's because in this case, the ui->searchEdit
position hasn't been set since the layout is delayed, which causes this code to always eat the press and double-click events:
If filtering that event is necessary (it was added to fix #173), it should probably use a different mechanism for determining where the "top part of the window" is. But personally I think we shouldn't filter out the event, but rather check this condition in MainWindow::mousePressEvent
(which I think you're doing in #505, @guihkx?).
Thanks a lot for the investigative work @bjorn. I believe I have fixed this in #505.
It'd be great if it could get your approval as well!
If you hide both the notes and folders panels (while in frameless mode), the next time you launch Notes, you won't be able to move the window (unless you unhide one of the panels first).
Steps to reproduce:
I bisected this and it points to ef4bb7f08ea84fbb6213e9fdea4fc053c58bbb23, but I haven't found a fix yet.
@zjeffer Would you have any idea?