┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-11-14GIT_SILENT Sync po/docbooks with svnl10n daemon script
2024-11-13FoldersTabsSettingsPage: Remove double cast, remove unnecessary variableAkseli Lahtinen
This uses only qobject_cast here, having static_cast after it is redundant. Also remove the topLevelWidgets variable, since we can just call the method instead.
2024-11-13generalviewsettingspage: Use qobject_cast instead of static_castAkseli Lahtinen
In generalViewSettingsPage, ActiveWindow is not necessarily a mainWindow, which can cause dolphin to crash. For example when user opens folder properties and then dolphin settings, this part thinks the folder settings is mainWindow. Instead of static_cast, use qobject_cast, since it will return nullptr if the DolphinMainWindow is not found. BUG:492741
2024-11-13GIT_SILENT Sync po/docbooks with svnl10n daemon script
2024-11-12Avoid flickering of space info on startupFelix Ernst
Prior to this commit, when Dolphin was opening in a directory for which the free space information cannot be retrieved, the free space info in the status bar would still briefly be visible before hiding for good. This commit avoids this flickering by keeping the space info hidden until space info has been successfully retrieved. There is no use showing an empty/wrong space info before that anyway. I assume the error in the previous code was that it assumed that one could prevent a widget from being shown by overriding QWidget::showEvent(). This does not work because this method is only called to notify QWidgets of their state change. This commit was primarily written because the brief showing of an empty space info was messing with automatic tests.
2024-11-12Test that each object has distinguishable accessible infoFelix Ernst
This commit extends the dolphinmainwindowtest for the accessible tree to test that each object a user can reach through the Tab key or the Shift+Tab key combination is distinguishable by its accessible info from the previous object. Objects are considered distinguishable if they have different accessible names or their first ancestor with an accessible name is different.
2024-11-12GIT_SILENT Sync po/docbooks with svnl10n daemon script
2024-11-11GIT_SILENT Sync po/docbooks with svnl10n daemon script
2024-11-11SVN_SILENT made messages (.desktop file) - always resolve oursl10n daemon script
In case of conflict in i18n, keep the version of the branch "ours" To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2024-11-10GIT_SILENT Sync po/docbooks with svnl10n daemon script
2024-11-08GIT_SILENT Upgrade release service version to 25.03.70.Albert Astals Cid
2024-11-07GIT_SILENT Sync po/docbooks with svnl10n daemon script
2024-11-06Skip splitter in Tab orderFelix Ernst
When moving through Dolphin by repeatedly pressing the Tab key, there is one seemingly invisible object that catches keyboard focus. On a default toolbar it receives keyboard focus between the "Details View Mode" button and the first button of the location bar. That object is the splitter of the location bar itself, which never requires manipulation by keyboard. This commit skips this object by setting its focusProxy to the primaryUrlNavigator() instead.
2024-11-06GIT_SILENT Sync po/docbooks with svnl10n daemon script
2024-11-05GIT_SILENT Sync po/docbooks with svnl10n daemon script
2024-11-02when splitting view, use selected folder as urlMéven Car
BUG: 483937
2024-11-02GIT_SILENT Sync po/docbooks with svnl10n daemon script
2024-11-01GIT_SILENT Sync po/docbooks with svnl10n daemon script
2024-10-31Make Escape move focus from location bar to viewFelix Ernst
Pressing Escape on the location bar while in breadcrumb mode has no effect at all. This commit changes this to instead move the focus to the active view. This is more logical because a user pressing escape while having focus on the location bar is no longer interested in interacting and changing the location in the location bar. They most likely want to act on the current location instead.
2024-10-31Have "Replace Location" toggle focus of the viewFelix Ernst
The "Replace Location" action moves focus to the location bar and selects the full path there so it can easily be replaced with a different path. When the full path is already selected, triggering "Replace Location" will toggle the editable state of the location bar. This commit makes it, that this also moves the focus to the view. This way, pressing Ctrl+L multiple times will switch back and forth between focusing and selecting the location bar path and focusing the view. This seems more sensible than only partially resetting the state when the "Replace Location" keyboard shortcut is pressed twice.
2024-10-31refactor: replace QString() with QStringLiteral() for better performanceZhangzhi Hu
2024-10-31CMakeLists: make KFileMetadata a required dependencyMéven Car
2024-10-31GIT_SILENT Sync po/docbooks with svnl10n daemon script
2024-10-31GIT_SILENT Update Appstream for new releaseHeiko Becker
(cherry picked from commit 0fb381a7edef8b3c60f1c01fb7cc9d9335556fb4)
2024-10-30GIT_SILENT Sync po/docbooks with svnl10n daemon script
2024-10-29GIT_SILENT Sync po/docbooks with svnl10n daemon script
2024-10-29SVN_SILENT made messages (.desktop file) - always resolve oursl10n daemon script
In case of conflict in i18n, keep the version of the branch "ours" To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2024-10-29GIT_SILENT made messages (after extraction)l10n daemon script
2024-10-28Overhaul main view accessibilityFelix Ernst
This commit brings the main view of Dolphin into a usable state accessibility-wise. Users of screen readers should have a way better experience while browsing files and folders and navigating along the file system hierarchy. This commit fixes most of the remaining already-identified accessibility issues listed in https://invent.kde.org/teams/accessibility/collaboration/-/issues/28, but not all. Namely, these should now be fixed: 1. Orca should read the element type in dolphin (file, folder, device, link to folder, link to file) 2. Orca should read complete label in icon and compact view mode, currently it only speaks the name, but there could be additional information like the number of elements or the file size. 3. Orca is not able to announce Selecting / Unselecting files in Dolphin. It also never announces how many items are selected in total. (Announcing the total selection can be done by reading out the view element or by pressing the Tab key to get to the status bar with the relevant information.) 4. Dolphin opens on the home directory, but Orca doesn't tell you so. Consider enclosing the area in a frame/panel which updates its accessible name each time you modify the current path by entering or leaving a directory. 5. I don't know what the folder presentation widget is, but it should be presented as a grid view. Currently, we have a terrible experience because the entire row of folders is read at once, with no indication that we can move left and right with the arrows to go between the elements of a row. When I found that out, however, I discovered that when you're on the last icon of the first row and press right arrow, you get to the first icon of the next row, but that's not announced, instead, the whole row is announced at once 6. Orca should announce the current elements instead of "layered pane" when the Folder / File view gets the focus in dolphin 7. Orca reads only name in Table View only of Dolphin 8. Items are sometimes confusingly announced as "collapsed" in contexts in which there is no concept of collapsing/expanding e.g. in icon view mode. A lot of code was moved around and renamed. The three accessibility classes, which all used to be in the same file, are moved into separate files. *Acknowledgement* Thanks to Christian Hempfling and bgt lover for testing as well as originally identifying a lot of the pain points being addressed here. This work is part of a my project funded through the NGI0 Entrust Fund, a fund established by NLnet with financial support from the European Commission's Next Generation Internet programme, under the aegis of DG Communications Networks, Content and Technology. https://kde.org/announcements/2024_ngi_openletter/
2024-10-28GIT_SILENT Sync po/docbooks with svnl10n daemon script
2024-10-27ViewProperties: Store view properties in extended file attributesMéven Car
Existing settings are converted. Works on most FS except FAT/exFAT which fallback to .directory files. If the extended file attributes (in ADS in Windows) can't be saved, they are saved to file as before. BUG: 322922 You can see file xattr using for instance for Unix filesystems: getfattr -d /home/meven
2024-10-26GIT_SILENT Sync po/docbooks with svnl10n daemon script
2024-10-21GIT_SILENT Sync po/docbooks with svnl10n daemon script
2024-10-19Add a sort by duration option for videosSomsubhra Bairi
BUG: 482508 Signed-off-by: Somsubhra Bairi <[email protected]>
2024-10-18GIT_SILENT Sync po/docbooks with svnl10n daemon script
2024-10-17Add test to avoid accidental divergence of desktop and phone uiFelix Ernst
The dolphinui.rc and dolphinuiforphones.rc file describe parts of the desktop and phone user interfaces for Dolphin. They are meant to be different in specific ways, but identical in many others. This test makes sure that the two ui files stay mostly identical by requiring any differences between them need to be explicitly stated/registered as an exception in the test. This way no accidental divergence of user interfaces can happen.
2024-10-17Move settings category switcher to the top on mobileFelix Ernst
There is not enough horizontal space to show the full Dolphin settings window on the average phone. This commit saves some horizontal space by moving the category switcher in Dolphin settings from being a list on the left to being tabs on the top.
2024-10-17Disable inline renaming for phones by defaultFelix Ernst
It currently does not seem to work together with virtual keyboards.
2024-10-17Add phone UIFelix Ernst
Previous to this commit launching Dolphin on phones (e.g. those running Plasma Mobile) would show Dolphin with its default user interface optimised for desktop usage. This commit changes this so instead a phone form factor optimised user interface is used. The differences to the default UI configuration are: -Toolbar at bottom -Icon-only toolbar -Different actions on the toolbar -Places panel hidden -Location bar at the top with a button to show places -Zoom slider hidden (pinch gestures to zoom still work) Through these changes Dolphin actually has a good user experience on phones by default. All the features were already there. Especially Steffen Hartleib's work to trigger selection mode on long press leads to great UX when dealing with multiple files. Still, this might be considered just a start towards making Dolphin great on phone form factors. Secondary windows that Dolphin might spawn are not yet adapted, but are usable on Plasma Mobile as they are anyway.
2024-10-17kitemlistcontroller: process forward/back buttons when double-clickingWolfgang Müller
Tapping the forward or back mouse buttons quickly enough makes Dolphin interpret the action as a double-click of the button in question and handle it in mouseDoubleClickEvent() instead of its normal button handler. This means that certain button presses might seem delayed or "swallowed" when quickly navigating forwards or backwards through the history. Since a double-click of the forward or back button is currently meaningless, fix this by emitting a normal mouseButtonPressed event for those buttons in the double-click handler and skipping any further event processing. Co-authored-by: Felix Ernst <[email protected]> CCBUG: 485295
2024-10-17GIT_SILENT Sync po/docbooks with svnl10n daemon script
2024-10-16GIT_SILENT made messages (after extraction)l10n daemon script
2024-10-15Fix double-click view background featureFelix Ernst
c934e803647674b4692668f047b6ffa18121982a was meant to change the double-click view background feature to only allow double-clicks with the left mouse button. However, it mistakenly did the exact opposite and allowed every double-click except ones with the left mouse button to trigger the feature. This one-liner fixes this.
2024-10-15GIT_SILENT Sync po/docbooks with svnl10n daemon script
2024-10-14Add context menu items to Trash view and itemsEren Karakas
Sort by and View mode are already available through hamburger menu; cut and copy are already available through shortcuts BUG: 493808 BUG: 476955
2024-10-13GIT_SILENT Sync po/docbooks with svnl10n daemon script
2024-10-12dolphinview: when rename dialog finishes, immediately update the model and ↵Jin Liu
the selection On sucessful return of the rename dialog, we update the model and the selection immediately to reflect the new name. This is to avoid the short duration after the rename during which the selection is lost. Currently, after the rename dialog finishes, the selection is briefly lost for about 1 second until the view automatically refreshes. This patch updates the model and selection immediately after the dialog finishes, so the renamed file is still selected. BUG: 481717
2024-10-12dolphinview: after inline renaming, immediately update the selectionJin Liu
Currently, the inline renaming updates the model and the list of selected files (m_selectedUrls) immediately after the user presses enter, but the selection in the view is not immediately updated. This results in the selection to be briefly lost for about 1 second until the view automatically refreshes. This patch updates the selection immediately after the user presses enter, so the renamed file is still selected. BUG: 481717
2024-10-12KFileItemModel: fix `setData` in the renaming usageJin Liu
The `setData` function is used by inline renaming to update the `text` role (i.e. file name) in the model before actually do the renaming. However, the current implementation only updates `text` and url in KFileItem in this case, leaving the `url` role and the `m_items` cache untouched. This makes the cache incoherent, so `index()` won't find the renamed item. It also makes the `url` role incoherent with the `text` role. This also fixes the problem mentioned in bug #481561 where when inline renaming fails, it still shows the new name. (Because `m_model->index` fails to find the new name and rename it back on job failure.) BUG: 481561
2024-10-11dolphinview: add error message when renaming failed in dialog modeJin Liu
BUG: 481561