flood-for-transmission icon indicating copy to clipboard operation
flood-for-transmission copied to clipboard

Can't move columns on Safari

Open justSunny12 opened this issue 2 years ago • 6 comments

Hi! I really love your WebUI, but unfortunately there's no way to move and swap columns on Safari 15.4 (17613.1.17.1.13) - cursor is changing to "move" when hovering over an item, but items aren't draggable. It works fine on another browsers, but could you please fix it on Safari? As I can see, columns order doesn't save, when I set it on one browser (f.e. Chrome) then switch to another. Thank you guys, you're awesome Снимок экрана 2022-05-11 в 16 28 02

justSunny12 avatar May 11 '22 11:05 justSunny12

Hi!

Thanks for the positive feedback!

I'm sorry to hear drag and drop is not working in Safari, but since I don't really own a Mac I won't be able to debug this myself. Do you have the knowledge to have a look yourself? Ultimitatly something is probably going wrong here: https://github.com/johman10/flood-for-transmission/blob/master/src/helpers/actions/orderable.js. If you know how to open the JS console and have a look for any information there, that would already be super helpful.

Hope you (or someone else reading this) can help me debug this!

johman10 avatar May 12 '22 07:05 johman10

Workaround: Configure in Chrome, then copy/paste the value of local storage variable ui-columns into Safari and reload

  • Open Google Crome and open your transmission server running flood-for-transmission
    • Menu > View > Developer > Developer Tools (⌥ ⌘ I a.k.a. "DevTools")
    • Tab "Application" > Left pane > Storage > Local Storage > http://your-transmission-host:9091
    • In the table scroll to key ui-columns
    • Double click into the value field.
    • Copy the value (⌘ C)
It is a JSON string like this ``` [{"id":2,"enabled":true,"width":167},{"id":13,"enabled":true,"width":255},{"id":15,"enabled":true,"width":162},{"id":9,"enabled":true,"width":54},{"id":27,"enabled":true,"width":56},{"id":10,"enabled":true,"width":71},{"id":6,"enabled":true,"width":62},{"id":22,"enabled":true,"width":68},{"id":18,"enabled":true,"width":54},{"id":7,"enabled":true,"width":66},{"id":23,"enabled":true,"width":68},{"id":14,"enabled":true,"width":63},{"id":19,"enabled":true,"width":65},{"id":1,"enabled":false,"width":100},{"id":3,"enabled":false,"width":100},{"id":4,"enabled":false,"width":100},{"id":11,"enabled":false,"width":100},{"id":16,"enabled":false,"width":100},{"id":12,"enabled":false,"width":100},{"id":8,"enabled":false,"width":100},{"id":21,"enabled":false,"width":100},{"id":5,"enabled":false,"width":100},{"id":20,"enabled":true,"width":71},{"id":17,"enabled":false,"width":100},{"id":24,"enabled":true,"width":75},{"id":25,"enabled":true,"width":90},{"id":26,"enabled":true,"width":141}] ```
  • Open Safari and open your transmission server running flood-for-transmission
    • Make sure the "Developer" menu is visible: Menu > Preferences > Advanced > Show Develop menu in menu bar
    • Menu > Developer > Show Web Inspector (⌥ ⌘ I)
    • Tab "Storage" > Left Pane > Local Storage > key ui-columns
    • Double click into the Value field. Paste the value. Hit ENTER.
    • Click the reload button in the browser (⌘ R)
    • Your columns in Safari are now exactly as in Chrome.

porg avatar Jul 23 '22 11:07 porg

@porg @justSunny12 I really wouldn't know what's going wrong here until I have proper debugging information. Could one of you (or anyone else reading this) open the JS console and post the output after dragging? That would greatly help me to figure out what is failing here.

johman10 avatar Aug 28 '22 08:08 johman10

Sorry, not installed anymore on my NAS, so I cannot test this. Good luck!

porg avatar Sep 07 '22 07:09 porg

Hi, just tried on Safari 16.0 (17614.1.25.9.10, 17614) and the column reordering is not working either. I opened the JS Console and no error is being displayed when I try to reorder the column. do you have an idea where I can start debugging it?

nick2k3 avatar Sep 16 '22 21:09 nick2k3

@nick2k3 thanks for checking! I'm not 100% sure what's going on then. Perhaps the easiest way to start debugging is to clear the local storage (or if it's easier to start a new "private window" in Safari) and visit Flood for Transmission. This should regenerate the original column configuration and might make it clearer what's going on.

Thanks for looking into this! 👏🙌

johman10 avatar Sep 18 '22 08:09 johman10

Hi everyone. Thanks to @kapoko this has now been resolved. If you experience further issues, please open a new issue or contribute by opening a new PR.

johman10 avatar Feb 03 '23 16:02 johman10