<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dolphin/src/views/tooltips/tooltipmanager.h, branch master</title>
<subtitle>Patched KDE Dolphin with Pixel Scaling
</subtitle>
<id>https://fiftyfourth.xyz/git/dolphin/atom?h=master</id>
<link rel='self' href='https://fiftyfourth.xyz/git/dolphin/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://fiftyfourth.xyz/git/dolphin/'/>
<updated>2023-02-05T05:45:38Z</updated>
<entry>
<title>Add clang-format and format code as in Frameworks</title>
<updated>2023-02-05T05:45:38Z</updated>
<author>
<name>Serg Podtynnyi</name>
<email>serg@podtynnyi.com</email>
</author>
<published>2023-02-03T17:14:53Z</published>
<link rel='alternate' type='text/html' href='https://fiftyfourth.xyz/git/dolphin/commit/?id=38c34eeca315c7be58e65d4d3fb72aaf7b866719'/>
<id>urn:sha1:38c34eeca315c7be58e65d4d3fb72aaf7b866719</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[ToolTipManager] Create DolphinFileMetaDataWidget on-demand again</title>
<updated>2022-03-31T12:22:24Z</updated>
<author>
<name>Kai Uwe Broulik</name>
<email>kde@privat.broulik.de</email>
</author>
<published>2022-03-29T07:36:30Z</published>
<link rel='alternate' type='text/html' href='https://fiftyfourth.xyz/git/dolphin/commit/?id=64ffcdad4ff60e1f0b443c00229e6aacf523c72f'/>
<id>urn:sha1:64ffcdad4ff60e1f0b443c00229e6aacf523c72f</id>
<content type='text'>
This reverts b7fbd19a7660424e6839df37f12b33111408b1fc but creates the
widget only once and then reuses it.

However, ownership of a parent-less widget is transferred to the
`KToolTipWidget` but since we first request metadata, then show the
tooltip (or won't if the mouse moved on since), we cannot rely on
the `KToolTipWidget` exclusively.

Instead, when we still delete the widget ourself until we have
shown the `KToolTipWidget` once at which point it will handle the
life time for us.

This fixes parenting the widget to `DolphinView` which would make
it appear as a broken line in the top left of the window.
</content>
</entry>
<entry>
<title>Reuse metadata widget when creating tooltips</title>
<updated>2022-03-25T10:18:46Z</updated>
<author>
<name>Nicolas Fella</name>
<email>nicolas.fella@gmx.de</email>
</author>
<published>2022-03-25T01:36:21Z</published>
<link rel='alternate' type='text/html' href='https://fiftyfourth.xyz/git/dolphin/commit/?id=b7fbd19a7660424e6839df37f12b33111408b1fc'/>
<id>urn:sha1:b7fbd19a7660424e6839df37f12b33111408b1fc</id>
<content type='text'>
Currently any time we hover the mouse over a file we create a new DolphinFileMetaDataWidget (even when we don't actually show a tooltip).

That is quite wasteful

Instead we can reuse the existing instance and only change the URL
</content>
</entry>
<entry>
<title>Build with QT_NO_KEYWORDS</title>
<updated>2021-02-09T20:39:50Z</updated>
<author>
<name>Nicolas Fella</name>
<email>nicolas.fella@gmx.de</email>
</author>
<published>2021-02-08T22:09:59Z</published>
<link rel='alternate' type='text/html' href='https://fiftyfourth.xyz/git/dolphin/commit/?id=f65b0899c3666561cafac14f67ab0bb8a5bfa00a'/>
<id>urn:sha1:f65b0899c3666561cafac14f67ab0bb8a5bfa00a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Output of licensedigger + manual cleanup afterwards.</title>
<updated>2020-08-25T17:07:38Z</updated>
<author>
<name>Elvis Angelaccio</name>
<email>elvis.angelaccio@kde.org</email>
</author>
<published>2020-08-25T17:07:38Z</published>
<link rel='alternate' type='text/html' href='https://fiftyfourth.xyz/git/dolphin/commit/?id=954e8c47906c12edaaf6e6aebdd41516eceb0d44'/>
<id>urn:sha1:954e8c47906c12edaaf6e6aebdd41516eceb0d44</id>
<content type='text'>
Unfortunately licensedigger does not strip the trailing * characters.
While at it, use a common style for all source files.
</content>
</entry>
<entry>
<title>[Dolphin] Hide tooltip instantly on key press</title>
<updated>2019-08-03T13:29:26Z</updated>
<author>
<name>Piotr Henryk Dabrowski</name>
<email>phd@phd.re</email>
</author>
<published>2019-08-03T13:28:35Z</published>
<link rel='alternate' type='text/html' href='https://fiftyfourth.xyz/git/dolphin/commit/?id=ba92917ac2f32e6fa7c8e5c3ecbd6a36b2e79eb0'/>
<id>urn:sha1:ba92917ac2f32e6fa7c8e5c3ecbd6a36b2e79eb0</id>
<content type='text'>
Summary:
Instantly hide tooltip shown over an element when a key is pressed.

Currently, when pressing an alphanum key to select a different file,
the tooltip continues to cover much of the window - often hiding that newly selected file from view.

Reviewers: #dolphin, ngraham, elvisangelaccio

Reviewed By: #dolphin, elvisangelaccio

Subscribers: broulik, elvisangelaccio, kfm-devel, pdabrowski

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D22512
</content>
</entry>
<entry>
<title>Fix crash at shutdown after showing a tooltip</title>
<updated>2019-03-17T17:09:02Z</updated>
<author>
<name>David Hallas</name>
<email>david@davidhallas.dk</email>
</author>
<published>2019-03-13T19:27:40Z</published>
<link rel='alternate' type='text/html' href='https://fiftyfourth.xyz/git/dolphin/commit/?id=f2b72c164888bce6dcdec343fd832a98f5837be1'/>
<id>urn:sha1:f2b72c164888bce6dcdec343fd832a98f5837be1</id>
<content type='text'>
Summary:
Fix crash at shutdown after showing a tooltip. The commit
94d7e1471e0a81b72285795ad91c4f6196157ae4 introduced a crash that occurs
when closing Dolphin after Dolphin has showed a tooltip. This happens
because the ToolTipManager::showToolTip function calls the
KToopTipWidget::showBelow function passing in the pointer to the
DolphinFileMetaDataWidget. But this also passes the ownership of the
pointer to the KToopTipWidget as long as a new tooltip is not shown. The
problem is that at shutdown, the KToopTipWidget instance will be
destoyed first and therefore also destroy the DolphinFileMetaDataWidget
instance (which the ToolTipManager still owns through the
QScopedPointer) causing it to be deleted twice. The fix for this is
simply to swap the order of these two members so that the
DolphinFileMetaDataWidget is destroyed first by the QScopedPointer
thereby removing it from the KToopTipWidget if it has been set as it's
parent.

Test Plan:
Open Dolphin
Show a Tool Tip
Close Dolphin

Reviewers: #dolphin, elvisangelaccio

Reviewed By: #dolphin, elvisangelaccio

Subscribers: kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D19737
</content>
</entry>
<entry>
<title>Fixes leak of DolphinFileMetaDataWidget in ToolTipManager</title>
<updated>2019-03-10T16:41:42Z</updated>
<author>
<name>David Hallas</name>
<email>david@davidhallas.dk</email>
</author>
<published>2019-03-03T06:37:52Z</published>
<link rel='alternate' type='text/html' href='https://fiftyfourth.xyz/git/dolphin/commit/?id=94d7e1471e0a81b72285795ad91c4f6196157ae4'/>
<id>urn:sha1:94d7e1471e0a81b72285795ad91c4f6196157ae4</id>
<content type='text'>
Summary:
Fixes leak of DolphinFileMetaDataWidget in ToolTipManager. The
destructor of ToolTipManager failed to delete the m_fileMetaDataWidget
member. This is seen at shutdown but also when you close a tab that has
displayed a tooltip.

Test Plan:
Compile Dolphin with address sanitizer
Open Dolphin
Show a tooltip
Close Dolphin

Reviewers: #dolphin, elvisangelaccio

Reviewed By: #dolphin, elvisangelaccio

Subscribers: kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D19485
</content>
</entry>
<entry>
<title>Remove unused #include</title>
<updated>2018-03-04T18:00:47Z</updated>
<author>
<name>Roman Inflianskas</name>
<email>infroma@gmail.com</email>
</author>
<published>2018-03-04T13:38:16Z</published>
<link rel='alternate' type='text/html' href='https://fiftyfourth.xyz/git/dolphin/commit/?id=48b58f830a585b773435c9af5ee2fe8f0c7c641d'/>
<id>urn:sha1:48b58f830a585b773435c9af5ee2fe8f0c7c641d</id>
<content type='text'>
Summary: I used CLion inspection to hunt all unused #include

Reviewers: #dolphin, elvisangelaccio, markg

Reviewed By: #dolphin, elvisangelaccio, markg

Subscribers: bcooksley, markg, elvisangelaccio, #dolphin

Differential Revision: https://phabricator.kde.org/D10985
</content>
</entry>
<entry>
<title>Modernize: Use override where possible</title>
<updated>2017-11-20T22:25:48Z</updated>
<author>
<name>Kevin Funk</name>
<email>kfunk@kde.org</email>
</author>
<published>2017-11-20T22:25:06Z</published>
<link rel='alternate' type='text/html' href='https://fiftyfourth.xyz/git/dolphin/commit/?id=464b13f3828e5cdd03438d0881c3a62c7cda6333'/>
<id>urn:sha1:464b13f3828e5cdd03438d0881c3a62c7cda6333</id>
<content type='text'>
Also use override instead of Q_DECL_OVERRIDE
</content>
</entry>
</feed>
