<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dolphin/src/dolphinnewfilemenu.cpp, 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>2025-02-03T18:23:16Z</updated>
<entry>
<title>implement shortcut action for file creation</title>
<updated>2025-02-03T18:23:16Z</updated>
<author>
<name>Christian Schwarz</name>
<email>cmrs@cmrs.io</email>
</author>
<published>2025-02-03T18:23:16Z</published>
<link rel='alternate' type='text/html' href='https://fiftyfourth.xyz/git/dolphin/commit/?id=f81d73a7f3a851dc755ef0cd1fd2a2507587a900'/>
<id>urn:sha1:f81d73a7f3a851dc755ef0cd1fd2a2507587a900</id>
<content type='text'>
BUG: 462899
</content>
</entry>
<entry>
<title>Do not rely on KIO source-code compat code</title>
<updated>2023-12-26T16:11:32Z</updated>
<author>
<name>Alexander Lohnau</name>
<email>alexander.lohnau@gmx.de</email>
</author>
<published>2023-12-26T16:11:32Z</published>
<link rel='alternate' type='text/html' href='https://fiftyfourth.xyz/git/dolphin/commit/?id=3f92ac800c5e52d0a5622367ff8ffe8cbbdfa184'/>
<id>urn:sha1:3f92ac800c5e52d0a5622367ff8ffe8cbbdfa184</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge branch 'master' into kf6</title>
<updated>2023-07-05T20:44:40Z</updated>
<author>
<name>Nicolas Fella</name>
<email>nicolas.fella@gmx.de</email>
</author>
<published>2023-07-05T20:44:40Z</published>
<link rel='alternate' type='text/html' href='https://fiftyfourth.xyz/git/dolphin/commit/?id=f510339f033658eae27f8400bf042b78b36f82f2'/>
<id>urn:sha1:f510339f033658eae27f8400bf042b78b36f82f2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add explicit moc includes to sources for moc-covered headers</title>
<updated>2023-07-05T07:59:18Z</updated>
<author>
<name>Friedrich W. H. Kossebau</name>
<email>kossebau@kde.org</email>
</author>
<published>2023-07-04T20:07:48Z</published>
<link rel='alternate' type='text/html' href='https://fiftyfourth.xyz/git/dolphin/commit/?id=ed2d352c42a6d517d4f29b3582c0e00aa34fe647'/>
<id>urn:sha1:ed2d352c42a6d517d4f29b3582c0e00aa34fe647</id>
<content type='text'>
* speeds up incremental builds as changes to a header will not always
  need the full mocs_compilation.cpp for all the target's headers rebuild,
  while having a moc file sourced into a source file only adds minor
  extra costs, due to small own code and the used headers usually
  already covered by the source file, being for the same class/struct
* seems to not slow down clean builds, due to empty mocs_compilation.cpp
  resulting in those quickly processed, while the minor extra cost of the
  sourced moc files does not outweigh that in summary.
  Measured times actually improved by some percent points.
  (ideally CMake would just skip empty mocs_compilation.cpp &amp; its object
  file one day)
* enables compiler to see all methods of a class in same compilation unit
  to do some sanity checks
* potentially more inlining in general, due to more in the compilation unit
* allows to keep using more forward declarations in the header, as with the
  moc code being sourced into the cpp file there definitions can be ensured
  and often are already for the needs of the normal class methods
</content>
</entry>
<entry>
<title>Bring back the "Create New" menu in the menu bar</title>
<updated>2023-05-16T15:11:51Z</updated>
<author>
<name>Jakob Petsovits</name>
<email>jpetso@petsovits.com</email>
</author>
<published>2023-05-12T22:13:39Z</published>
<link rel='alternate' type='text/html' href='https://fiftyfourth.xyz/git/dolphin/commit/?id=b5b6762b15564919b32b33cde9961a75a2e3de22'/>
<id>urn:sha1:b5b6762b15564919b32b33cde9961a75a2e3de22</id>
<content type='text'>
This commit is the result of a three-way diff that
combines my own initial patch with related changes from
Felix Ernst's MR !545 and further suggestions by Méven Car.

Fixes DolphinMainWindowTest::testNewFileMenuEnabled().
Tests are now passing again for my build.

"Create New" was broken by commit c64059bd which switched to the
new, non-deprecated KNewFileMenu constructor (kio commit 89bc6bad)
that doesn't add itself to the passed KActionCollection parameter.
After the switch, hamburger menu and context menu was still working
as intended but the menu bar was missing the "Create New" menu.

This commit adds the addAction("new_menu") call to the File menu
setup that would have previously been called by the deprecated
KNewFileMenu constructor. The corresponding test can now find
the QObject for the menu's named action again, verifying its
existence and enabled-ness like it did before.

The DolphinNewFileMenu constructor's unused actionCollection
parameter serves no use anymore except to confuse people.
We replace it with a single QAction* parameter, createDirAction,
which gets passed to setNewFolderShortcutAction().

2 out of 3 constructor call sites have access to this action,
while the remaining call site in dolphinmainwindow.cpp must wait
until after it has been initialized by DolphinViewActionHandler.
In this case, setNewFolderShortcutAction() is still called manually
at a later time.
</content>
</entry>
<entry>
<title>Remove deprecated, ifdef'd code for old KIO versions</title>
<updated>2023-05-12T20:56:36Z</updated>
<author>
<name>Jakob Petsovits</name>
<email>jpetso@petsovits.com</email>
</author>
<published>2023-05-12T20:56:36Z</published>
<link rel='alternate' type='text/html' href='https://fiftyfourth.xyz/git/dolphin/commit/?id=1b0caf69a845d0a68c3d8d1a6bdf98568a673501'/>
<id>urn:sha1:1b0caf69a845d0a68c3d8d1a6bdf98568a673501</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Port away from deprecated KNewFileMenu ctor</title>
<updated>2023-03-04T23:49:48Z</updated>
<author>
<name>Nicolas Fella</name>
<email>nicolas.fella@gmx.de</email>
</author>
<published>2022-10-18T20:38:45Z</published>
<link rel='alternate' type='text/html' href='https://fiftyfourth.xyz/git/dolphin/commit/?id=c64059bd02061968b184c6c8e3d862423afd2547'/>
<id>urn:sha1:c64059bd02061968b184c6c8e3d862423afd2547</id>
<content type='text'>
</content>
</entry>
<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>Don't show error message on ERR_USER_CANCELED</title>
<updated>2022-08-24T15:00:01Z</updated>
<author>
<name>Kai Uwe Broulik</name>
<email>kde@privat.broulik.de</email>
</author>
<published>2022-08-24T15:00:01Z</published>
<link rel='alternate' type='text/html' href='https://fiftyfourth.xyz/git/dolphin/commit/?id=a44830c3a9f954c376d21d4526d94c26d19d010c'/>
<id>urn:sha1:a44830c3a9f954c376d21d4526d94c26d19d010c</id>
<content type='text'>
There's no point telling the user what they just did.

After https://invent.kde.org/frameworks/kio/-/commit/f192c133eb01bc8448d5ddd97fe20f8e6dbc467d
this error has a text associated with it, so it might
show up in the UI.
</content>
</entry>
<entry>
<title>Compile with QT_NO_KEYWORDS</title>
<updated>2020-10-23T18:23:06Z</updated>
<author>
<name>Alexander Lohnau</name>
<email>alexander.lohnau@gmx.de</email>
</author>
<published>2020-10-23T17:51:33Z</published>
<link rel='alternate' type='text/html' href='https://fiftyfourth.xyz/git/dolphin/commit/?id=97415729c34851df75c77a67f27d6299c00bfbc4'/>
<id>urn:sha1:97415729c34851df75c77a67f27d6299c00bfbc4</id>
<content type='text'>
</content>
</entry>
</feed>
