Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Publisher: Files Drag n Drop cleanup #3888

Merged

Conversation

iLLiCiTiT
Copy link
Member

Brief description

Cleanup code of files widgets used in publisher.

Description

Handle moving around of items in files widget. Stack widgets in files widget to handle their size hints. Proper showing of empty widget on moving items around. Hide Drag'n'Drop label if user can't drop any.

Additional info

Files widget changed a look when have no items in. The view is painted underneath so the beackground is dark grey.

Screenshot

image

Testing notes:

  1. Open TrayPublisher where files widget is available
  2. Try to play with it to validate if reported issues that should be resolved do not happen.

Resolves #3837
Resolves #3836

@ynbot
Copy link
Contributor

ynbot commented Sep 20, 2022

@iLLiCiTiT iLLiCiTiT self-assigned this Sep 20, 2022
@iLLiCiTiT iLLiCiTiT added the type: bug Something isn't working label Sep 20, 2022
@antirotor
Copy link
Member

It fixed those issues but there is till some confusion here:

tray_publisher_items

I would expect the file dragged to the upper box to be added there, not to replace existing one?

@iLLiCiTiT iLLiCiTiT merged commit 6310294 into develop Oct 3, 2022
@iLLiCiTiT iLLiCiTiT deleted the bugfix/OP-3965_Publisher-draging-files-around-breaks-things branch October 3, 2022 12:00
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

FileDef Widget: Contradicting label Publisher: draging files around breaks things
3 participants