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

File list is truncated in (Samsung) SmartTV browser #11330

Closed
McPringle opened this issue Sep 23, 2018 · 6 comments
Closed

File list is truncated in (Samsung) SmartTV browser #11330

McPringle opened this issue Sep 23, 2018 · 6 comments

Comments

@McPringle
Copy link

Steps to reproduce

  1. Share a folder as a link
  2. Open the link with the Samsung Smart TV browser
  3. Look at the filenames

Expected behaviour

See more of the filename

Actual behaviour

Only the three first characters of the filenames are displayed followed by a huge white space. Please take a look at the attached photo:
nextcloud_on_samsung_smarttv

Server configuration

Operating system:
Ubuntu 18.04.1 LTS (GNU/Linux 4.15.0-33-generic x86_64)

Web server:
nginx/1.15.3

Database:
mysql Ver 15.1 Distrib 10.3.9-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2

PHP version:
Zend Engine v3.2.0 with Zend OPcache v7.2.10-0ubuntu0.18.04.1

Nextcloud version: (see Nextcloud admin page)
Nextcloud 13.0.6

Updated from an older Nextcloud/ownCloud or fresh install:
Fresh install

Where did you install Nextcloud from:
Download from Nextcloud Website

Signing status:

Signing status
No errors have been found.

List of activated apps:

App list
Activity
AppOrder	
Bookmarks
Brute-force settings
Calendar
Checksum
Collabora Online
Collaborative tags
Comments
Contacts
Deck
Deleted files
Federation
File sharing
First run wizard
Full text search
Full text search - Bookmarks
Full text search - Files
Gallery
Log Reader
Mail
Markdown Editor
Monitoring
News
Nextcloud announcements
Notifications
ocDownloader
Password policy
PDF viewer
Polls	
Reader (ebook reader)
Share by mail
Social sharing via email
Social sharing via Facebook
Social sharing via Google+
Social sharing via Twitter
Talk
Tasks
Text editor
Theming
Update notification
Usage survey
Versions
Video player
Weather

Nextcloud configuration:

Config report
$CONFIG = array (
  'instanceid' => 'XXXXXXXXXX',
  'passwordsalt' => 'XXXXXXXXXX,
  'secret' => 'XXXXXXXXXX',
  'trusted_domains' => 
  array (
    0 => 'XXXXXXXXXX',
    1 => 'XXXXXXXXXX',
    2 => 'XXXXXXXXXX',
    3 => 'XXXXXXXXXX',
  ),
  'datadirectory' => '/var/nextcloud_data',
  'overwrite.cli.url' => 'XXXXXXXXXX',
  'overwriteprotocol' => 'https',
  'dbtype' => 'mysql',
  'version' => '13.0.6.1',
  'dbname' => 'XXXXXXXXXX',
  'dbhost' => 'XXXXXXXXXX',
  'dbport' => 'XXXXXXXXXX',
  'dbtableprefix' => 'XXXXXXXXXX',
  'mysql.utf8mb4' => true,
  'dbuser' => 'XXXXXXXXXX',
  'dbpassword' => 'XXXXXXXXXX',
  'installed' => true,
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'logtimezone' => 'Europe/Berlin',
  'maintenance' => false,
  'auth.bruteforce.protection.enabled' => true,
  'filelocking.enabled' => 'true',
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'redis' => 
  array (
    'host' => '/var/run/redis/redis-server.sock',
    'port' => 0,
    'timeout' => 0.0,
  ),
  'mail_smtpmode' => 'smtp',
  'mail_smtpauthtype' => 'LOGIN',
  'mail_smtpsecure' => 'tls',
  'mail_from_address' => 'XXXXXXXXXX',
  'mail_domain' => 'XXXXXXXXXX',
  'mail_smtpauth' => 1,
  'mail_smtphost' => 'XXXXXXXXXX',
  'mail_smtpport' => 'XXXXXXXXXX',
  'mail_smtpname' => 'XXXXXXXXXX',
  'mail_smtppassword' => 'XXXXXXXXXX',
);

Are you using external storage, if yes which one:
no

Are you using encryption:
no

Are you using an external user-backend, if yes which one:
no

Client configuration

Browser:
Mozilla/5.0 (SMART-TV; Linux; Tizen 2.4.0) AppleWebkit/538.1 (KHTML, like Gecko) SamsungBrowser/1.1 TV Safari/538.1

Operating system:
Linux; Tizen 2.4.0

Logs

Web server error log

Web server error log
no errors in logfile

Nextcloud log (data/nextcloud.log)

Nextcloud log
The log is 66M. Please be more specific, if you need data from the log.

Browser log

Browser log
no access to browser log
@nextcloud-bot
Copy link
Member

GitMate.io thinks possibly related issues are #7625 (File list is moved down when a file is selected), #4144 (defect file-list with unicode on samba-share ), #10182 (JPG files downloading instead of opening in browser), #7907 (Text files truncated on the client side), and #5747 (File listing crashes when a folder name contains quotes).

@MorrisJobke
Copy link
Member

Mozilla/5.0 (SMART-TV; Linux; Tizen 2.4.0) AppleWebkit/538.1 (KHTML, like Gecko) SamsungBrowser/1.1 TV Safari/538.1

We fixed some stuff like this for Safari in Nextcloud 14. I guess this is the best approach to move this forward, because I think that debugging on a SmartTV is out of scope and not really something we will invest much time in it :/

cc @skjnldsv didn't you fixed this truncating issues some months ago?

@skjnldsv
Copy link
Member

skjnldsv commented Sep 26, 2018

@MorrisJobke I remember stuff like that, but nothing that bad :/

@McPringle
Copy link
Author

I will check it with Nextcloud v14 (as soon as the update shows up in my admin panel). If the problem persists, I can invest some time to debug it locally using the Tizen SDK. I never did something with Tizen, but I know there is an emulator included which may show the same behaviour and can be used to track it down.

I am the organizer of the monthly Hackergarten in Lucerne where we work for open source projects. If you tag this issue with the "hackergarten" tag, it will automatically show up in our list of potential topics for the next event on http://hackergarten.net

@MorrisJobke
Copy link
Member

I am the organizer of the monthly Hackergarten in Lucerne where we work for open source projects. If you tag this issue with the "hackergarten" tag, it will automatically show up in our list of potential topics for the next event on http://hackergarten.net

I would rather close this one here for now. Feel free to track it on your side, but we are clearly lacking a way to properly reproduce and debug this and also TVs are not the main interface we are building our web UI for. Sorry for the inconvenience here.

@MorrisJobke
Copy link
Member

MorrisJobke commented Oct 2, 2018

maybe #11508 fixes the problem for you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants