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

text is truncated and thumbnails is to big in detailed view #134

Closed
nwgat opened this issue Mar 25, 2016 · 3 comments
Closed

text is truncated and thumbnails is to big in detailed view #134

nwgat opened this issue Mar 25, 2016 · 3 comments

Comments

@nwgat
Copy link

nwgat commented Mar 25, 2016

http://i.imgur.com/zZdrBsN.png

ubuntu 15.10
latest openshot from daily ppa

@komackaj
Copy link

I wasn't able to reproduce the thumbnail bug - this happens when first frame of video is black, may that be the problem?

Openshot still cuts names in current master 9e5c437. The source is here

col.setText((name[:20] + '...') if len(name) > 15 else name)

(same logic on Ln189 for thumbnails). I believe the reason is that columns are autoresized using
self.resizeColumnToContents(2)
and it would cause display problems with long names.

IMHO the right way would be pass full data to setText and let QTreeView do the hard work of shortening text column overlaps, which it does automatically. The only two problems are to persuade FilesTreeView to set initial columns width (which should be easy) and not to autoresize them on new file addition (not so easy as I've found out). Unfortunately I don't have enough QT skills to make it work the right way, maybe someone else will.

@DylanC
Copy link
Collaborator

DylanC commented Aug 24, 2017

@nwgat - Does this issue occur on OpenShot 2.3.4?

@DylanC
Copy link
Collaborator

DylanC commented Aug 27, 2017

Unable to reproduce this issue on the daily build.

@DylanC DylanC closed this as completed Aug 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants