Ruslan Kabatsayev

Results 576 comments of Ruslan Kabatsayev

A hash sum seems more robust than a timestamp.

It may actually be easier to recreate the widget. I don't remember whether I have put any effort at making it resizable on the fly. In fact, maybe not recreate...

My commits have mostly fixed it, but there're some things which aren't segment-aware: e.g. symbols in disassembly. But this part is a bit harder than it looks at first: we...

FYI, on my system I had to adjust the correction from your `(2,16)` to `(1,17)` to get pixel perfection (with KDE4 Oxygen style). Also, on Qt4 there's no overload of...

Yeah, maybe something like `QStyle::pixelMetric()`.

For some reason, the `QTipLabel` (the private Qt's `QWidget` representing the tooltip) gets `QEvent::Leave` as soon as it shows up. Then its event filter just calls `hideTip`. I'm not sure...

Here's a version which does work for me using a hack to avoid closing due to Leave event: [10110111@`6afe4dd`](https://github.com/10110111/edb-debugger/commit/6afe4dd4d00d5ffbc866a5ee7600096bee1fc2df?ts=4). The font is now also chosen correctly, unlike the original version,...

In fact, the positioning of tooltip seems to be quite tricky to handle correctly in general. See [`QTipLabel::placeTip` source](http://cep.xray.aps.anl.gov/software/qt4-x11-4.8.6-browser/dc/d21/class_q_tip_label.html#aa9b5db4a59d8afed515b6d97fb8b8dc0). We may want to manually move it after it shows up,...

OK, I seem to have succeeded in pixel-perfect placement across a variety of different themes and font sizes. [Here's the patch](https://github.com/10110111/edb-debugger/commit/0a79668d8fb82ff9845e9dec79f4006355fd41bb?ts=4). Comments are welcome. Ideally this should go into a...

It's indeed naive and doesn't work well in some cases, but it's also quite slow. It seems it should be done in some other way than using regexp, although I...