Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Develop/snipe 25 #2440

Merged
merged 98 commits into from
Nov 30, 2024
Merged

Develop/snipe 25 #2440

merged 98 commits into from
Nov 30, 2024

Commits on Nov 30, 2024

  1. chore: update version to 6.5.11

    6.5.11
    
    Log: 6.5.11
    Johnson-zs committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    3b62aca View commit details
    Browse the repository at this point in the history
  2. feat: [Customize menu] Customize menu merging

    Merge menus with the same name
    
    Log: [Customize menu] Customize menu merging
    Task: https://pms.uniontech.com/task-view-363005.html
    pppanghu77 authored and Johnson-zs committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    8193d15 View commit details
    Browse the repository at this point in the history
  3. feat: [ulnfs] add ulnfs

    [ulnfs] add to ulnfs
    
    Log: [ulnfs] add dlnfs to ulnfs
    
    Task: https://pms.uniontech.com/task-view-359649.html
    pppanghu77 authored and Johnson-zs committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    eedf2e5 View commit details
    Browse the repository at this point in the history
  4. feat: [ulnfs] migrate filename from dlnfs to ulnfs

    Migrate filename from dlnfs to ulnfs.
    
    Log: migrate filename from dlnfs to ulnfs
    Task: https://pms.uniontech.com/task-view-359649.html
    wangrong1069 authored and Johnson-zs committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    2f4b108 View commit details
    Browse the repository at this point in the history
  5. Revert "feat: [ulnfs] migrate filename from dlnfs to ulnfs"

    This reverts commit ad6ed34.
    pppanghu77 authored and Johnson-zs committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    09a0758 View commit details
    Browse the repository at this point in the history
  6. Revert "feat: [ulnfs] add ulnfs"

    This reverts commit 6035774.
    pppanghu77 authored and Johnson-zs committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    c23a261 View commit details
    Browse the repository at this point in the history
  7. feat: window layout

    Window layout adjusted to left/right layout
    
    Log: window layout
    Johnson-zs committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    25a5f6c View commit details
    Browse the repository at this point in the history
  8. feat: window layout to detailspace

    1. fix sidebar sise changed when resize window
    2. change detailspace layout
    
    Log: window layout to detailspace
    Johnson-zs committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    1d2d90d View commit details
    Browse the repository at this point in the history
  9. feat: refactor mainwindow UI

    1.refactor titlebar layout
    2.move tabbar from workspace to titlebar
    3.update ui style of some components
    
    Log: as title
    Lighto-Ku authored and Johnson-zs committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    b02769a View commit details
    Browse the repository at this point in the history
  10. feat: Sidebar show animation

    Impl sidebar show animation
    
    Log: Sidebar show animation
    Johnson-zs committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    dd2970d View commit details
    Browse the repository at this point in the history
  11. feat: iconArea adapts to compact mode

    iconArea adapts to compact mode
    
    Log: iconArea adapts to compact mode
    Johnson-zs committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    2a299f6 View commit details
    Browse the repository at this point in the history
  12. fix: titlebar widget issue

    1.do not response close event when close button hidden in tab.
    2.set fixed height of top titlebar after size mode changed.
    3.remove same item in titlebar menu
    4.sync workspace anim with window anim
    5.auto play tabbar anim when remove one tab
    6.set placeholder of titlebar
    
    Log: fix tab close issue
    Lighto-Ku authored and Johnson-zs committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    fae31b1 View commit details
    Browse the repository at this point in the history
  13. refactor: rename signal and method for splitter animation

    - Rename signal 'aboutPlaySplitterAnimation' to 'aboutToPlaySplitterAnimation'
    - Improve error handling in TitleBarHelper::createSettingsMenu
    
    log:
    Johnson-zs committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    0c2f257 View commit details
    Browse the repository at this point in the history
  14. feat: refactor crumbbar UI

    1.file address breadcrumbs implementation
    2.file address bar interaction
    3.address bar drop-down box directory folder preview
    
    Log: refactor crumbbar UI
    wyu71 authored and Johnson-zs committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    3088c6a View commit details
    Browse the repository at this point in the history
  15. feat: add sidebar visibility management in FileManagerWindow

    - Implemented resizeEvent to handle sidebar visibility based on window size.
    - Added updateSideBarState and updateSideBarVisibility methods to manage sidebar state.
    - Introduced showSideBar and hideSideBar methods for better encapsulation of sidebar visibility logic.
    - Adjusted splitter position handling to account for sidebar visibility.
    - Updated minimum window width to ensure proper layout with sidebar.
    
    This commit enhances the FileManagerWindow by dynamically managing the visibility of the sidebar based on the window size. It ensures that the sidebar behaves correctly when the window is resized, improving the overall user experience.
    
    log:
    Johnson-zs committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    a202bbe View commit details
    Browse the repository at this point in the history
  16. feat: enhance sidebar animation and visibility management in FileMana…

    …gerWindow
    
    - Added animation handling for sidebar visibility in the FileManagerWindow.
    - Implemented isAnimationEnabled() to check if animations are enabled.
    - Refactored animation setup and connection of animation signals for better clarity.
    - Introduced handleWindowResize() to adjust window size based on sidebar expansion.
    - Improved sidebar visibility management with new properties and signals.
    - Updated sidebar animation configuration with customizable duration and easing curve.
    
    This commit improves the user experience by providing smooth animations for the sidebar in the FileManagerWindow. It ensures that the sidebar behaves correctly during window resizing and enhances the overall responsiveness of the UI.
    
    log:
    Johnson-zs committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    9f95029 View commit details
    Browse the repository at this point in the history
  17. refactor: improve sidebar visibility management in FileManagerWindow

    - Simplified sidebar visibility logic by removing redundant checks.
    - Changed `sideBarVisible` to `sideBarAutoVisible` for better clarity.
    - Enhanced `setSplitterPosition` method to streamline splitter size adjustments.
    - Updated `animateSplitter` to correctly handle animation states.
    - Improved `updateSideBarVisibility` to dynamically show/hide the sidebar based on available space.
    - Added checks in `showSideBar` and `hideSideBar` to prevent unnecessary visibility changes.
    - Adjusted window state saving logic to account for sidebar width.
    
    This commit refines the sidebar management in the FileManagerWindow, ensuring smoother visibility transitions and better handling of window resizing. The changes enhance the overall user experience by providing a more responsive and intuitive interface.
    
    log:
    Johnson-zs committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    cbf6ad4 View commit details
    Browse the repository at this point in the history
  18. chore: remove unused line

    as title
    
    Log:
    Johnson-zs committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    5b6429f View commit details
    Browse the repository at this point in the history
  19. fix: am appid issue

    get appid of desktopfile by Dtk core func.
    
    Log: fix am appid issue
    Bug: https://pms.uniontech.com/bug-view-280301.html
    Lighto-Ku authored and Johnson-zs committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    a6fedc4 View commit details
    Browse the repository at this point in the history
  20. feat: add sort by UI

    Added new toolbar sorting options panel
    
    Log: add sort by ui
    wyu71 authored and Johnson-zs committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    0e6742b View commit details
    Browse the repository at this point in the history
  21. fix: tab issue

    1.set index >= 0 when remove tab.
    2.only allow drag tab when tabs count > 1.
    
    Log: fix tab issue
    Lighto-Ku authored and Johnson-zs committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    41c3eef View commit details
    Browse the repository at this point in the history
  22. feat: refactor addressbar

    1.remove search func from addressbar
    2.add new search edit in titlebar
    3.reimpl layout
    
    Log: refactor addressbar
    Lighto-Ku authored and Johnson-zs committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    de79e27 View commit details
    Browse the repository at this point in the history
  23. fix: breadcrumbs exist in hidden folders after hiding

    Breadcrumb adaptation hidden function
    
    Log: breadcrumbs exist in hidden folders after hiding
    wyu71 authored and Johnson-zs committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    4a110f0 View commit details
    Browse the repository at this point in the history
  24. feat: add view options UI

    New toolbar view options panel
    
    Log: add view options UI
    wyu71 authored and Johnson-zs committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    0d64a88 View commit details
    Browse the repository at this point in the history
  25. fix: sort by button truncated

    The default spacing between buttons is not 0, resulting in incorrect width calculation.
    
    Log: sort by button truncated
    wyu71 authored and Johnson-zs committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    5b9d1b1 View commit details
    Browse the repository at this point in the history
  26. fix: adjust breadcrumb button UI

    1.Adjust the minimum width of breadcrumb button to 200
    2.Display ellipsis in the middle of breadcrumb button text
    
    Log: adjust breadcrumb button UI
    wyu71 authored and Johnson-zs committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    db46fcc View commit details
    Browse the repository at this point in the history
  27. fix: breadcrumb button settings activation failed

    Activation status not saved
    
    Log: breadcrumb button settings activation failed
    wyu71 authored and Johnson-zs committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    62e50ba View commit details
    Browse the repository at this point in the history
  28. fix: adjust breadcrumb drop-down menu UI

    Breadcrumb drop-down menu gradient display text
    
    Log: adjust breadcrumb drop-down menu UI
    wyu71 authored and Johnson-zs committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    589e26c View commit details
    Browse the repository at this point in the history
  29. fix: search editor issue

    1.focus issue
    2.layout issue in show window
    
    Log: fix search editor issue
    Lighto-Ku authored and Johnson-zs committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    003888b View commit details
    Browse the repository at this point in the history
  30. feat: add view item size range

    1.add more icon size level
    2.add item width property
    
    Log: add view item size range
    Lighto-Ku authored and Johnson-zs committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    9c35baa View commit details
    Browse the repository at this point in the history
  31. feat: view options panel

    connect view options panel to workspace view.
    
    Log: view options panel
    Lighto-Ku authored and Johnson-zs committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    1491514 View commit details
    Browse the repository at this point in the history
  32. refactor: adjust kMinimumWindowWidth to 500

    as title
    
    Log: as title
    Johnson-zs committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    edaa003 View commit details
    Browse the repository at this point in the history
  33. feat: notify drag enter

    add dbus signal to notify drag enter.
    
    Log:
    
    Task:
    Clauszy authored and Johnson-zs committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    6cfcc63 View commit details
    Browse the repository at this point in the history
  34. fix: the sort by button has no click effect

    Sort by button increases click effect by area
    
    Log: the sort by button has no click effect
    wyu71 authored and Johnson-zs committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    e5bdd16 View commit details
    Browse the repository at this point in the history
  35. fix: optimize memory management in vault password operations

    - Replace g_hash_table_unref with g_hash_table_destroy for attributes cleanup
    - Use Q_NULLPTR instead of nullptr for better Qt compatibility
    - Improve SecretValue creation with secret_value_new_full
    - Remove redundant g_object_unref for service cleanup
    - Use baPassword.data() instead of constData() for string conversion
    
    This commit fixes potential memory leaks and improves memory management
    in vault password related operations.
    
    Log: fix bug
    
    Bug: https://pms.uniontech.com/bug-view-278715.html
    Johnson-zs committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    8845137 View commit details
    Browse the repository at this point in the history
  36. feat: Support three height levels for list view mode

    Add support for three different height levels (24px, 32px, 48px) in list view mode:
    
    1. Add global definition for list heights
    2. Add height level related interfaces in BaseItemDelegate
    3. Implement height setting functionality in ListItemDelegate
    4. Add height level state management in FileView
    5. Update height settings storage method
    6. Set icon size to 75% of row height
    
    The height level can be changed through the slider in view options, and the
    setting will be preserved across sessions.
    
    Log: Support three height levels for list view mode
    Lighto-Ku authored and Johnson-zs committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    7decc58 View commit details
    Browse the repository at this point in the history
  37. feat: Add adaptive width mode for view mode buttons

    Add a compact mode for the view mode buttons in the title bar that switches
    between normal and compact layouts based on the parent widget width.
    
    Key changes:
    - Add compact mode that shows a single button with dropdown menu when width <= 600px
    - Implement menu with checkable actions and icons for each view mode
    - Add proper state management for switching between normal and compact modes
    - Update layout and width calculations to handle both modes
    - Initialize compact mode on widget creation based on parent width
    - Add resize handling to switch modes when parent width changes
    
    The compact mode helps improve usability on narrow windows while maintaining
    all view mode switching functionality through a dropdown menu.
    
    Log: Add adaptive width mode for view mode buttons
    Lighto-Ku authored and Johnson-zs committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    ffa8ca1 View commit details
    Browse the repository at this point in the history
  38. feat: display preview migration to configuration item

    settings was moved to the configuration section.
    
    Log: display preview migration to configuration item
    wyu71 authored and Johnson-zs committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    ea66c43 View commit details
    Browse the repository at this point in the history
  39. refactor: simplify background drawing in ElideTextLayout

    - Remove `fillBackground` parameter and related functionality
    - Remove `drawFullBackground` method as it's no longer needed
    - Simplify background drawing logic to only support per-line drawing
    - Update all callers to remove the `fillBackground` parameter
    
    This change streamlines the text layout background drawing mechanism by
    removing the option to fill the entire background at once, maintaining
    only the per-line background drawing functionality.
    
    Log: simplify background drawing in ElideTextLayout
    Lighto-Ku authored and Johnson-zs committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    98d45c3 View commit details
    Browse the repository at this point in the history
  40. refactor: optimize search box layout and responsiveness

    - Add SearchMode enum to manage different display states (Collapsed/Expanded/ExtraLarge)
    - Add width constants for search box layout management
    - Implement responsive width adjustment based on parent window size
    - Simplify resize event handling in TitleBarWidget
    - Add updateSearchWidgetLayout method to handle search box UI updates
    - Remove redundant width calculations and manual layout adjustments
    - Fix spinner size and positioning
    - Improve focus handling and state management
    
    The changes make the search box layout more flexible and responsive to window
    resizing, providing better user experience with smoother transitions between
    different display modes.
    
    Log: optimize search box layout and responsiveness
    Lighto-Ku authored and Johnson-zs committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    7dba9d6 View commit details
    Browse the repository at this point in the history
  41. feat: add gradient effect for URL button hover state

    Add a gradient fade effect to the URL button text when hovering or showing
    the subdirectory menu. The text color gradually fades out at the edge to
    create a smoother visual transition.
    
    Log: add gradient effect for URL button hover state
    wyu71 authored and Johnson-zs committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    6cdccff View commit details
    Browse the repository at this point in the history
  42. feat: improve folder list widget text display

    - Add dynamic width calculation for folder list widget based on content
      - Calculate max text width using QFontMetrics
      - Set widget width between 172-800 pixels considering text, icon and margins
    - Simplify text eliding in folder view delegate
      - Replace custom gradient fade-out with Qt's built-in elide functionality
      - Use ElideMiddle to show beginning and end of long text
    
    Log: improve folder list widget text display
    wyu71 authored and Johnson-zs committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    e86e5d9 View commit details
    Browse the repository at this point in the history
  43. fix: simplify tooltip display logic in FolderViewDelegate

    - Remove unnecessary minimum width calculations
    - Use direct text width comparison instead of elided text generation
    - Maintain same functionality with cleaner code
    
    Log: simplify tooltip display logic in FolderViewDelegate
    wyu71 authored and Johnson-zs committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    ca90daf View commit details
    Browse the repository at this point in the history
  44. chore: update translations for multiple languages

    - Update Simplified Chinese (zh_CN) translations
    
    Log: update translations for multiple languages
    wyu71 authored and Johnson-zs committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    bc72e6c View commit details
    Browse the repository at this point in the history
  45. feat: add drag monitor to desktop

    add drag monitor to desktop.
    
    Log: 
    
    Task:
    Clauszy authored and Johnson-zs committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    de20709 View commit details
    Browse the repository at this point in the history
  46. refactor: integrate TabBarManager functionality into TitleBarWidget

    - Remove TabBarManager class and move its functionality directly into TitleBarWidget
    - Update TitleBarEventCaller and TitleBarEventReceiver to work with new structure
    - Add direct TabBar management methods in TitleBarWidget
    - Improve tab-related event handling
    - Clean up initialization code and UI updates
    
    This change simplifies the codebase by removing an unnecessary abstraction layer
    and making tab management more direct and maintainable.
    
    Log: integrate TabBarManager functionality into TitleBarWidget
    Johnson-zs committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    8f15e9f View commit details
    Browse the repository at this point in the history
  47. fix: improve file view display and window size adjustments

    - Increase minimum window width from 500px to 550px for better content display
    - Fix icon size level return value in IconItemDelegate
    - Initialize icon size when setting up icon mode view
    
    Log: improve file view display and window size adjustments
    Lighto-Ku authored and Johnson-zs committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    5c0f520 View commit details
    Browse the repository at this point in the history
  48. fix: optimize mouse event handling in TabBar

    - Remove redundant mouse event propagation to parent widget
    - Prevent right-click context menu from showing in non-drag areas
    - Ensure proper event handling for drag operations
    
    The changes simplify the mouse event handling logic and fix
    potential issues with context menu display in the tab bar area.
    
    Log: optimize mouse event handling in TabBar
    Lighto-Ku authored and Johnson-zs committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    a0cfbe2 View commit details
    Browse the repository at this point in the history
  49. fix: improve icon view layout and horizontal offset calculation

    - Fix icon view layout spacing and margins to be more consistent
    - Improve horizontal offset calculation for icon view mode
    - Add initHorizontalOffset flag to properly handle offset initialization
    - Fix item width level change to trigger full layout update
    - Update drop event handling to ensure proper state reset
    - Move horizontal offset calculation logic to private implementation
    - Fix visual rect calculation to use DListView's implementation with proper offset
    
    The changes improve the icon view layout consistency and fix issues with
    horizontal scrolling and item positioning. The offset calculation is now
    more robust and handles edge cases better.
    
    Log: improve icon view layout and horizontal offset calculation
    Lighto-Ku authored and Johnson-zs committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    5800888 View commit details
    Browse the repository at this point in the history
  50. fix: adjust icon view spacing calculation

    - Double the spacing value in item width and height calculations
    - Improve visual layout of icon view items
    
    Log: adjust icon view spacing calculation
    Lighto-Ku authored and Johnson-zs committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    50b8a91 View commit details
    Browse the repository at this point in the history
  51. fix: improve file name display in Tab class

    - Add support for file display name using FileInfo
    - Fix code formatting and indentation
    - Remove trailing empty line
    
    Log: improve file name display in Tab class
    wyu71 authored and Johnson-zs committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    3d402d3 View commit details
    Browse the repository at this point in the history
  52. fix: improve button visibility handling in OptionButtonBox

    - Add URL scheme check for button visibility
    - Hide compact button when all buttons should be hidden
    - Auto adjust button box display mode based on parent width
    
    Log: improve button visibility handling in OptionButtonBox
    wyu71 authored and Johnson-zs committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    e306eba View commit details
    Browse the repository at this point in the history
  53. fix: optimize crumb bar width calculation and layout

    - Move updateWidth() from UrlPushButtonPrivate to UrlPushButton class for better encapsulation
    - Add calculateRemainingWidth() to TitleBarWidget to properly handle available space
    - Improve crumb bar layout handling
    - Remove hardcoded size policy from UrlPushButton constructor
    
    Log: optimize crumb bar width calculation and layout
    wyu71 authored and Johnson-zs committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    e4b021d View commit details
    Browse the repository at this point in the history
  54. fix: improve URL button appearance and layout

    - Add minimum width constraint (40px) for URL buttons
    - Center align text content in URL buttons
    - Enhance visual consistency of navigation elements
    
    Log: improve URL button appearance and layout
    wyu71 authored and Johnson-zs committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    aa3514e View commit details
    Browse the repository at this point in the history
  55. fix: optimize icon view layout and spacing calculation

    - Optimize column count calculation in icon view mode
    - Cache calculated column count to improve performance
    - Fix layout issues when item count is less than one row
    - Adjust icon vertical margin to use spacing value
    - Remove redundant comments and code
    - Fix horizontal offset calculation for edge cases
    
    This commit improves the icon view layout stability and performance
    by optimizing how columns are calculated and cached, while also
    fixing several edge cases in the layout calculation.
    
    Log: optimize icon view layout and spacing calculation
    Lighto-Ku authored and Johnson-zs committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    8d7c601 View commit details
    Browse the repository at this point in the history
  56. refactor: optimize DetailSpaceHelper animation and view logic

    - Extract animation logic into separate helper methods
    - Add new utility methods for managing workspace width updates
    - Improve code readability and maintainability
    - Fix animation repeat issue when detail view is already visible
    - Consolidate animation configuration retrieval
    - Clean up variable naming and code structure
    
    This change improves code organization and reduces duplication in the
    detail view animation handling.
    
    Log: optimize DetailSpace
    Johnson-zs committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    38bd66d View commit details
    Browse the repository at this point in the history
  57. fix: update horizontal offset when row count changes in icon view mode

    Update the horizontal offset calculation when the number of rows changes in
    icon view mode to ensure proper alignment of icons. This helps maintain
    consistent layout and visual appearance of items in the file view.
    
    Log: update horizontal offset when row count changes in icon view mode
    Lighto-Ku authored and Johnson-zs committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    d4bab77 View commit details
    Browse the repository at this point in the history
  58. refactor: standardize SearchMode enum naming convention

    Changes:
    - Add 'k' prefix to SearchMode enum values to follow Google C++ style guide
    - Add kUnknown as default state for SearchMode
    - Update all references to SearchMode values with new naming convention
    - Initialize currentMode with kUnknown instead of kExpanded
    
    This change improves code consistency and follows better C++ naming practices.
    
    Log: standardize SearchMode enum naming convention
    Lighto-Ku authored and Johnson-zs committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    194c53e View commit details
    Browse the repository at this point in the history
  59. refactor: simplify window drag handling in TabBar

    - Remove direct window drag implementation from TabBar
    - Let mouse events propagate to parent window when dragging
    - Clean up mouse event handlers
    - Fix code formatting and alignment
    - Remove unused dragStartPosition variable
    
    This change improves the window dragging behavior by delegating
    the responsibility to the parent window instead of handling it
    directly in TabBar.
    
    Log: as title
    Johnson-zs committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    220cd4a View commit details
    Browse the repository at this point in the history
  60. refactor: improve sidebar visibility handling

    - Replace direct visibility setting with dedicated show/hide methods
    - Add conditional logic for non-animated sidebar state changes
    - Use showSideBar() and hideSideBar() helper methods for better encapsulation
    - Maintain consistent behavior between animated and non-animated modes
    
    This change improves code clarity and maintainability by using
    dedicated methods instead of direct property manipulation.
    
    Log:
    Johnson-zs committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    326787d View commit details
    Browse the repository at this point in the history
  61. fix: Fixed The dde-file-manager-service service cannot be started aft…

    …er deepin-service-manager security hardening.
    
    After deepin-service-manager security hardening, some services of the document management system begin to fail to start abnormally.
    
    log: Add the appropriate permissions for dde-file-manager-service-plugin.
    bug: https://pms.uniontech.com/bug-view-275217.html\#google_vignette
    Influence: Check whether the file management service process is started normally.
    dengzhongyuan365-dev authored and Johnson-zs committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    378abf2 View commit details
    Browse the repository at this point in the history
  62. fix: Use the QList insert method to perform a validation check, and u…

    …se append instead of insert when the index value is greater than the size of the list
    
    In Qt6, when the size of the list is exceeded, the insert operation of QList will trigger an assertion crash
    To avoid the crash, if the size bigger than list's size, use append instead.
    
    The following are included: bookmark, tagdirmenu, workspace ..
    
    log: The insert method of Qlist is compatible.
    bug: https://pms.uniontech.com/bug-view-284723.html
    dengzhongyuan365-dev authored and Johnson-zs committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    178a5a9 View commit details
    Browse the repository at this point in the history
  63. fix: Fixed the issue that the search input box crashed

    QCompleter responds to the input and triggers the ontextchanged operation, resulting in a new operation that has not been executed last time, so that the data in the list to be processed in the previous time has been cleared, and the second response operation is processed, and the first one is continued, at this time, the data is abnormal, and the data managed in the list has been released, resulting in no data in the data area pointed by QString at this time, and a null pointer is called.
    
    Use Qt::QueuedConnection to connect the signal slots and let them process in order.
    
    log: AUse queueconntion to connect the signal slots and let them process in order.
    bug: https://pms.uniontech.com/bug-view-283947.html
    Influence: The normal use of the search input box.
    dengzhongyuan365-dev authored and Johnson-zs committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    3f2c4db View commit details
    Browse the repository at this point in the history
  64. fix: optimize FileView layout and visual rect calculation

    - Replace viewport()->update() with doItemsLayout() for better layout updates when item height changes
    - Simplify visualRect implementation by using DListView's base implementation
    - Remove redundant custom rectangle calculations for list/tree view modes
    
    Log: fix view paint issue
    Bug: https://pms.uniontech.com/bug-view-284809.html
    Lighto-Ku authored and Johnson-zs committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    eb15fd6 View commit details
    Browse the repository at this point in the history
  65. fix: Fixed the issue that deleting a valut and creating a new one fai…

    …led.
    
    When using QProcess pointer variables, changing the environment variables will have an effect on the entire life cycle,
    and thus will also be affected when other processes are started. Each change to the environment variables appends the system environment variables instead of replacing them.
    
    In this bug, starting cryfs when mounted on a directory will change the environment variables, resulting in the loss of some system environment variables when using cryfs-unmount.
    
    log: The lack of environment variables causes cryfs-unmount to be unable to find the corresponding path, resulting in the failure of folder unmount.
    
    bug: https://pms.uniontech.com/bug-view-284441.html
    Influence: The normal use of the vault.
    dengzhongyuan365-dev authored and Johnson-zs committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    15a1659 View commit details
    Browse the repository at this point in the history
  66. fix: Fixed the issue where desktop files with special characters and …

    …mixed Chinese and English characters in the file name could not be opened.
    
    The dde-file-manager script file parses mixed Chinese and English and special characters in the form of ascall, resulting in incorrect encoding when encoding multi-byte, single-byte and special characters into URLs.
    Here it is modified to parse in the form of utf-8 character encoding.
    
    log: Modify the encoding method from chat-gpt.
    bug: https://pms.uniontech.com/bug-view-283841.html
    Influence: Focus on the bug itself and whether it introduces other unknown problems.
    dengzhongyuan365-dev authored and Johnson-zs committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    b0d8cc1 View commit details
    Browse the repository at this point in the history
  67. feat: video thumbnail support qt6

    The dependency package libimageeditor has been updated
    to support Qt6, update the name of the dynamic library
    found in Qt6 to `libimageviewer6.so`.
    
    Log: Video thumbnail support Qt6.
    Influence: thumbnail
    rb-union authored and Johnson-zs committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    6db0340 View commit details
    Browse the repository at this point in the history
  68. chore: update file license

    As title.
    
    Log: Update file license.
    rb-union authored and Johnson-zs committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    7a3bd4f View commit details
    Browse the repository at this point in the history
  69. fix: optimize system path related functions

    - Remove redundant cleanPath function and its usage
    - Add new helper function findSystemPathKey to centralize path key lookup logic
    - Refactor systemPathDisplayNameByPath, systemPathIconNameByPath and isSystemPath
      to use consistent path comparison logic
    - Add new FileUtils::isSameFile overload for string paths
    - Improve system path detection by checking file node identity
    
    This change reduces code duplication and makes the system path handling more
    consistent and robust by using proper file node comparison instead of simple
    string matching.
    
    Log: optimize system path related functions
    Bug: https://pms.uniontech.com/bug-view-286421.html
    Lighto-Ku authored and Johnson-zs committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    d1a988e View commit details
    Browse the repository at this point in the history
  70. fix: support XDG_DATA_DIRS for custom context menu paths

    - Remove hardcoded /usr/share/applications/context-menus path
    - Add support for reading context menu paths from XDG_DATA_DIRS environment variable
    - Only add paths that exist and are not duplicates
    - Maintain backwards compatibility with existing /usr/etc and /etc paths
    
    Log: fix custom context menu issue
    Bug: https://pms.uniontech.com/bug-view-281715.html
    Lighto-Ku authored and Johnson-zs committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    eba862f View commit details
    Browse the repository at this point in the history
  71. chore: remove debug log outputs

    - Remove debug echo statements in dde-file-manager script
    - Remove debug logging of logger rules in loggerrules.cpp
    - Clean up unnecessary logging of system and app log rules
    
    This change reduces log noise by removing debug outputs that are
    no longer needed for development.
    
    Log: remove debug log
    Johnson-zs committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    548831e View commit details
    Browse the repository at this point in the history
  72. refactor: centralize DConfig key definitions and usage

    - Create global_dconf_defines.h to centralize all DConfig keys
    - Group config keys into logical namespaces (ConfigPath, BaseConfig, AnimationConfig)
    - Update all files to use the new centralized definitions
    - Add new animation config keys in json file
    - Improve config descriptions and organization
    - Clean up code formatting and namespace usage
    
    Log: This change improves maintainability by centralizing DConfig key definitions
    and providing better organization through namespaces.
    Johnson-zs committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    cf3267f View commit details
    Browse the repository at this point in the history
  73. refactor: split global animation control into individual switches

    - Rename dfm.animation.sort.enable to dfm.animation.resort.enable
    - Add separate enable switches for each animation type:
      * Enter animation
      * Layout animation
      * Detail view animation
      * Sidebar animation
      * Resort animation
    - Update all animation checks to use their specific enable config
    - Replace global animation check with dedicated animation type checks
    
    Log: This change provides finer-grained control over individual
    animations, allowing users to enable/disable specific animations
    independently.
    
    Task: https://pms.uniontech.com/story-view-36389.html
    Johnson-zs committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    1f92fdd View commit details
    Browse the repository at this point in the history
  74. refactor: optimize event filter and remove filepreview plugin

    1. Remove filepreview plugin from common plugin list
    2. Improve event filter handling:
       - Add static flag to handle paint event only once
       - Add keyboard event monitoring for debugging
       - Keep event filter active for continuous monitoring
    
    Log: add debug log
    Johnson-zs committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    82472d7 View commit details
    Browse the repository at this point in the history
  75. refactor: replace dde-desktop with dde-shell

    1. Update application name from dde-desktop to dde-shell in:
       - Device scanner configuration
       - Menu scene configurations
       - Extension plugin manager
       - Process handling
    
    2. Add upgrade check functionality in dde-shell:
       - Implement checkUpgrade function
       - Handle upgrade process with Qt6 compatibility notes
       - Update process restart mechanism to use systemctl
    
    3. Fix typos and remove redundant semicolon
    
    Log: refactor
    Johnson-zs committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    f295828 View commit details
    Browse the repository at this point in the history
  76. fix: add "My Shares" display name for root url in share plugin

    Add special handling to display "My Shares" as the name when
    the current url is the root url in ShareFileInfo class
    
    Log: fix tabname is invalid for UserShare
    Johnson-zs committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    9206c28 View commit details
    Browse the repository at this point in the history
  77. fix: crash caused by static variable destructuring

    Move prefixMap and prefixKeys from static variables to const member variables
    in EventPrivate class to avoid static initialization/destruction order issues
    and ensure thread safety.
    
    Log: fix crash
    Johnson-zs committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    dfe9ab8 View commit details
    Browse the repository at this point in the history
  78. fix: optimize search edit widget signal connection

    - Change textChanged signal to textEdited to avoid unnecessary signal emissions
    - Remove redundant DTK macro check for DSizeMode header
    - Fix signal-slot connection to prevent potential text processing issues
    
    Log: This commit fixes the search widget's behavior by using textEdited instead
    of textChanged signal, which only triggers when user actually types or
    modifies the text, avoiding unnecessary signal emissions from programmatic
    text changes.
    Johnson-zs committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    e9ab5d9 View commit details
    Browse the repository at this point in the history
  79. fix: Fix the problem of directory creation failure when samba mount.

    When smb mounts and creates directories, the ::mkdir system call is used. However, if the directory has multiple levels and needs to be created recursively, mkdir cannot meet the requirement, resulting in a failure in directory creation. Use Qt's mkpath instead.
    
    log: To avoid wood creation failure use Qt's mkpath.
    bug: https://pms.uniontech.com/bug-view-277301.html
    dengzhongyuan365-dev authored and Johnson-zs committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    0f7b132 View commit details
    Browse the repository at this point in the history
  80. fix: Fixed the transparent encryption of the vault. Unlocking failed …

    …when the safe was opened again after the screen was locked.
    
    When using g_unix_mount_get_fs_type to obtain a symbolic link, it is not resolved into a real path, resulting in an error in obtaining the file mount type.
    Therefore, convert the symbolic link into a real file path before using it.
    
    log: Get the mount type of the vault
    bug: https://pms.uniontech.com/bug-view-278715.html
    dengzhongyuan365-dev authored and Johnson-zs committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    4c71709 View commit details
    Browse the repository at this point in the history
  81. fix: Fixed the issue that sambda cannot be uninstalled in an immutabl…

    …e system
    
    The media path mapping changes in the immutable system lead to the inability to correctly match the path. Modify the regular expression so that it can match
    
    log: Fixed the issue that sambda cannot be uninstalled in an immutable system
    bug: https://pms.uniontech.com/bug-view-277301.html
    dengzhongyuan365-dev authored and Johnson-zs committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    3d6812b View commit details
    Browse the repository at this point in the history
  82. fix: improve title bar status management and URL handling

    - Move address bar status control from CrumbInterface to TitleBarHelper
    - Add scheme-based title status management in TitleBarHelper
    - Simplify address bar hide/show signal mechanism
    - Enhance search functionality with URL change integration
    - Improve source URL handling in CrumbBar
    - Add keyword extraction from URL query for search widget
    - Make search scheme keep address bar by default
    
    This refactoring improves code organization by centralizing title bar status
    management and enhances URL handling for better search integration.
    
    Log: fix search editor issue
    Lighto-Ku authored and Johnson-zs committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    c83a83f View commit details
    Browse the repository at this point in the history
  83. fix: optimize file info update logic for local devices

    - Add additional check for local device files during info creation
    - Update file attributes immediately for local devices when not previously updated
    - Prevent redundant updates by setting updateOnce flag
    
    Log: update info attributes when refresh
    Bug: https://pms.uniontech.com/bug-view-273683.html
    Lighto-Ku authored and Johnson-zs committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    e39c682 View commit details
    Browse the repository at this point in the history
  84. refactor: unify icon size constants and add slider config

    - Move icon size constants (min/max/step) to dfm_global_defines.h
    - Remove duplicate icon size constants from viewoptionswidget.cpp
    - Add slider configuration support in settings
    - Replace icon size combobox with slider in workspace settings
    - Update icon size list generation to use global constants
    
    This change improves code maintainability by centralizing icon size
    constants and provides a more intuitive slider control for icon size
    settings.
    
    Log: unify icon size constants and add slider config
    Lighto-Ku authored and Johnson-zs committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    eac8dae View commit details
    Browse the repository at this point in the history
  85. feat: add text index service support

    - Add text index service to dde-file-manager services
    - Install text index dbus service file
    - Install user json config for text index service
    
    Log: init text index service
    Johnson-zs committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    487870b View commit details
    Browse the repository at this point in the history
  86. refactor: optimize text index service implementation

    - Change target_include_directories visibility to PRIVATE
    - Add task manager integration for index operations
    - Implement core index service methods
    - Add proper signal connections for index operations
    - Replace placeholder methods with actual implementations
    
    Log:
    Johnson-zs committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    3dac21c View commit details
    Browse the repository at this point in the history
  87. refactor: improve text index task management and type safety

    - Add proper type registration for IndexTask::Type
    - Change task progress type from int to qint64
    - Move indexStorePath to global namespace
    - Add SPDX license headers
    - Improve thread safety with std::atomic_bool
    - Add comprehensive logging
    - Fix include paths and CMake configuration
    - Add fulltext search source files to build
    
    Summary:
    This commit focuses on improving the robustness and maintainability of the text
    index service, particularly around type safety and thread handling. It also
    standardizes the codebase with proper licensing and logging while fixing various
    build-related issues.
    
    Log: index for full text
    Johnson-zs committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    d88a4cb View commit details
    Browse the repository at this point in the history
  88. refactor: optimize text index traversal and file processing

    - Extract common directory traversal logic into traverseDirectoryCommon
    - Add isSupportedFile helper function for file type checking
    - Move directory traversal utilities to separate module
    - Improve path validation and directory filtering
    - Add visited directory tracking to prevent loops
    - Enhance error handling and cleanup in index operations
    - Clean up file path handling with QDir::cleanPath
    
    This commit significantly improves the robustness and maintainability of the text
    index service by refactoring the directory traversal logic. It introduces better
    separation of concerns, adds safeguards against directory loops, and improves
    path handling throughout the codebase.
    
    Log:
    Johnson-zs committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    8beb921 View commit details
    Browse the repository at this point in the history
  89. feat: optimize resource management with ScopeGuard

    * replace FinallyUtil with ScopeGuard for RAII resource management
    * add ScopeGuard class to handle resource cleanup
    * use ScopeGuard for DIR* and Lucene reader/writer cleanup
    * ensure exception safety and proper resource release
    * remove dependency on dfm-base library
    
    Log: The commit improves code safety and reduces external dependencies while maintaining all existing functionality.
    Johnson-zs committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    e3a4125 View commit details
    Browse the repository at this point in the history
  90. fix: optimize task state management and thread priority

    * replace atomic_bool with TaskState class for better state management
    * use QAtomicInteger for thread-safe state control
    * remove unnecessary mutex and use atomic operations
    * fix task stop response delay issue
    * optimize code structure and readability
    
    Log: The commit improves task control reliability and responsiveness while maintaining thread safety.
    Johnson-zs committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    6391087 View commit details
    Browse the repository at this point in the history
  91. refactor: optimize file indexing process and debug output

    * add QT_DEBUG guard for verbose debug output
    * improve debug message format for file operations
    * optimize file traversal process
    * remove redundant debug output
    * improve code readability and maintainability
    
    Log: The commit improves debug output control and code readability while maintaining core functionality.
    Johnson-zs committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    7ecad7c View commit details
    Browse the repository at this point in the history
  92. fix: optimize text index task state management

    * fix task state transition logic to avoid infinite loop
    * ensure task stops after completion without auto-restart
    * add detailed debug logs with [TextIndex] prefix
    * ensure service auto-start before DBus connection
    * improve error handling and state transition logging
    
    Log: The commit fixes the task state management to properly handle task completion and avoid unnecessary task restarts.
    Johnson-zs committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    358d316 View commit details
    Browse the repository at this point in the history
  93. feat: add TextIndex DBus interface and service activation

    - Add TextIndex DBus interface to search plugin
    - Add service activation check in TextIndexController
    - Fix task progress reporting and cleanup in TaskManager
    - Optimize index update process with better interruption handling
    
    Log: This commit implements the TextIndex DBus interface integration and improves
    the service activation mechanism for better reliability.
    Johnson-zs committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    5e9a86f View commit details
    Browse the repository at this point in the history
  94. refactor: migrate full-text search to DBus service

    - Remove local index creation logic from FullTextSearcher
    - Add TextIndexClient integration for index operations
    - Implement async task handling with proper state management
    - Add service status checking and error handling
    - Clean up deprecated code and unused functions
    
    This change moves the full-text search index management from local
    implementation to the new DBus service, improving reliability and
    maintainability of the search functionality.
    
    Log:
    Johnson-zs committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    ed4b689 View commit details
    Browse the repository at this point in the history
  95. fix: change TextIndex service to resident mode

    - Remove TextIndex DBus service auto-activation config
    - Change service policy from OnDemand to Resident mode
    - Remove idle timeout and policy path configurations
    - Clean up related installation files
    
    This change ensures TextIndex service stays resident instead of
    being activated on-demand, which resolves service activation
    timing issues.
    
    Log:
    Johnson-zs committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    a3a3c78 View commit details
    Browse the repository at this point in the history
  96. feat: add index status tracking and persistence

    - Add index status file to track last successful update time
    - Implement status file management for root directory tasks
    - Add status clearing on task failure or new root index
    - Add debug instructions for service debugging
    - Comment out invalid index deletion temporarily
    
    This change adds persistence to track indexing status, which helps
    maintain index consistency and enables better recovery from failures.
    
    Log: text index
    Johnson-zs committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    062bff7 View commit details
    Browse the repository at this point in the history
  97. chore: update license headers and file paths

    - Add missing SPDX license headers to TextIndexClient files
    - Update 3rdparty dependency paths in dep5 file
    - Move fulltext and fsearch libraries to root 3rdparty directory
    - Fix copyright information formatting
    
    This change standardizes license headers and reorganizes 3rdparty
    dependency locations for better project structure.
    
    Log: License
    Johnson-zs committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    723046d View commit details
    Browse the repository at this point in the history
  98. chore: update translations

    as title
    
    Log: update translations
    Johnson-zs committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    93d1cc0 View commit details
    Browse the repository at this point in the history