textbrowser / dooble

Dooble is a scientific browser. Minimal, cute, unusually stable, and available almost everyware. Completed?
https://textbrowser.github.io/dooble/
Other
475 stars 37 forks source link

An error occurred while dragging the video file into the browser on Windows 10. #213

Open louies0623 opened 8 months ago

louies0623 commented 8 months ago

Dragging a video file into the browser will only spin it infinitely instead of playing the video. Dragging a second video file to a second tab results in a web page error.

textbrowser commented 8 months ago

Dragging it from where to where? Firefox has problems with drag & drop. Drag & drop are not universal. If you can attach, attach. If not, contact the site. :P

textbrowser commented 8 months ago

Dooble covers at least Qt 5.15, Qt 6.2, and Qt 6.5 LTS versions. You're probably into 6.6. And I don't know your operating system. If it's Linux, well, it's Linux and you have a Desktop. I have a separate Desktop. Many varieties.

louies0623 commented 8 months ago

I am using Windows 10 and drag files from the folder to the browser to play them. This works in Firefox, but not in this browser.

textbrowser commented 8 months ago

Oh. Windows. Let me think.

textbrowser commented 8 months ago

Done thinking.

textbrowser commented 8 months ago

https://github.com/textbrowser/dooble/assets/10701156/aef479c0-5449-43e4-9e4c-4125a9c90bc7

textbrowser commented 8 months ago

Works from a real operating system. Please discard Windows and you'll be healthier and happier.

textbrowser commented 8 months ago

And I also dragged and dropped the above video from my Desktop into Dooble. New tab created and the video played.

louies0623 commented 8 months ago

Unfortunately, I can't stop using Windows, because a lot of support and information about our language in Linux is incomplete or extremely difficult to obtain.

louies0623 commented 8 months ago

This problem occurred when I dragged the mp4 file into the browser window.

textbrowser commented 8 months ago

This is the wonderful Kubuntu. I love Debian but not its mediocre interfaces. I may move away from Linux and towards MacOS this year. It will be expensive, but I do not like my large and not-necessarily efficient workstation. I fortunately built it before the pandemic with excellent components. If I cannot continue with KDE Connect, I'll remain on Linux.

Apple is not open source totally but it works well and it's FreeBSD-ish. The interface is beautiful and responsive. Anyway, I don't work on Windows. I build on it sometimes and I don't like its interface. It looks tired and incomplete. For such a wealthy company, MS abandoned itself for other wealth.

Developing on MS is a tragedy for me. The environment requires trial and error. Packaging is ugly. The platform doesn't have agency. I dislike it. It is not warm.

textbrowser commented 8 months ago

Linux and Apple are warm. I like their fonts and their styles. The windows are configurable, at least in Kubuntu. The scrollbars are vibrant. I do not see jagged glyphs. The colors are defined well. When I'm on Windows, I see ugly menus and obtuse options. It is difficult to navigate. The lively connection into the Internet is weird and I don't like it. Constant notifications are also bothersome. It's like an annoying salesperson constantly visiting you wherever you are. Popping into your existence to capture your attention. Anyway, I'm really more normal. Well, I cannot be when I'm interacting with Windows. :)

louies0623 commented 8 months ago

I used to like Linux, but I was tired of it. Just because of the poor language support, the mental labor required to install the software, and the time it took to download and update related packages from the Internet, I quickly gave up.

textbrowser commented 8 months ago

How many years ago?

textbrowser commented 8 months ago

There are some poor distributions. Ubuntu and Kubuntu and perhaps a few others have a focus on presentation. I like Kubuntu over Ubuntu because it has remained non-intrusive. Ubuntu is moving into the life of Windows. Of course Kubuntu is Qt and Debian. It offers LTS. It's just nice. Sometimes it misbehaves but not to die over. Kubuntu is very configurable. I've read positive reviews of Zorin OS. Have not tried it.

louies0623 commented 8 months ago

The first time I came across Linux was when Ubuntu 12.04 came out. The feeling I used at that time was completely in line with my "User experience OCD" But it will no longer be necessary after 2018, because of the above problems, and other interface designs that are too complex, such as system settings, and some remove important user experience, such as desktop icons and login buttons (laptops) Enter is broken), I am having a hard time using linux.

louies0623 commented 8 months ago

If I need to change, I will choose Mac. Otherwise, I will use ReactOS as my default system. I will only use it if its stability is good enough.

louies0623 commented 8 months ago

Back to the topic, when dragging mp4 to the browser, there will be an infinite circle bug, and without closing the page, dragging another mp4 into it will generate a new page, and the page will display an error.

textbrowser commented 8 months ago

If you can open the video and it plays, the problem does not exist. I will not be enhancing drag & drop on Windows as it works on Linux and perhaps MacOS. MacOS requires a simple test.

louies0623 commented 8 months ago

If it works on MacOS High sierra, then I can test it, but it's not currently supported.

textbrowser commented 8 months ago

I'll see now on a Mac Mini with the M2. Newest MacOS.

textbrowser commented 8 months ago

I have this Mac Mini and Dooble is present and active on it for almost a month. It's a weather computer (weather.gov). Refreshes a page once per minute. Usual power consumption is at 6.8 Watts. Monitor is always off unless turned on. I build on this machine and will do so for future work. And will not be contributing on the Intel. I also have a Spot-On instance and house the family's library for remote BiblioteQ via PostgreSQL.

textbrowser commented 8 months ago

If the Gods are gracious, I'll purchase a Mac Studio and replace my AMD machine. (I'm not religious.) It's a nice machine, however, it's large and heavy. The Studio is superbly minute.

textbrowser commented 8 months ago

Yup, it works. Drag & drop followed by a video play.

louies0623 commented 8 months ago

That is a Windows error, but you have provided a Windows version before, and other users will report this problem, so it is recommended to fix it. By the way, will React OS be supported in the future? Because it is another open source system and is made by the community. They do not have perverted surveillance like MS, nor are they bloated add-on software, nor do they have MS account "call-style" login.

textbrowser commented 8 months ago

I don't work on Windows. There is nothing specific Dooble does for drag & drop. It works or it doesn't.

textbrowser commented 8 months ago

And ReactOS is like HaikuOS, forever in beta.

louies0623 commented 8 months ago

React OS has indeed been in the testing phase for a long time, but slow work will lead to careful work, and there will eventually be an official version. So will you support it in the future?

textbrowser commented 8 months ago

I'm sure someone will build my awesome work on it, for sure. Yes, indeed. I will not. Build it, that is. If there are tickets, I'll do my very mediocre best to help them. But all of this work is hard. I don't want to be struck by a proverbial bus or truck or train of flying spaghetti monster, but it may happen. So have to live first, like playing piano and hanging out with important people and tinkering away at valuable aspects of volunteering. I mean, things that keep the happiness and dedication streaming.

textbrowser commented 8 months ago

I don't have a dedicated computer for Windows. I have a virtual machine. And Windows 11 on it is mad. Insane. Weird graphics glitches and impractical build environment. I can't install MinGW because I'm afraid it'll kill Qt. It's an asylum. I don't understand people's ability to tolerate Windows. I prefer Android over it and I dislike Android too.

textbrowser commented 8 months ago

I'm the worst person anyone should ask for providing packages. I also dislike that. Perhaps I would not if I wasn't asked so often. And my packages never work for anyone even though I spend hours and they work for me and I follow Debian and MacOS guidelines. Open source is challenging if you're emotional.

textbrowser commented 8 months ago

And GitHub or anything else doesn't have a front where a computer will screen questions and complaints. It's you and only you and there are many of people. Does this resonate? Perhaps not.

textbrowser commented 8 months ago

After this, I'm going to do something more quiet. Soup kitchens or cleaning highways.

textbrowser commented 8 months ago

Peace person of the Internet. Type to you later.

louies0623 commented 8 months ago

It does work for you, but not supporting it will be an opportunity to prevent people from seeing your work. Maybe they can see the screenshots, but they will leave without experience and lack interest. Only a few people who understand code know this. So is it still a great work? So you have to eat spaghetti and meatballs to know the chef's ability.

louies0623 commented 8 months ago

If spaghetti is in your way, as long as it doesn't stink, find some people to eat it with.

textbrowser commented 8 months ago

Consider the audience. Not all people enjoy Magic Mountain. It's still an awesome book. :P

textbrowser commented 8 months ago

Mac Mini update: Dooble, PostgreSQL, and Spot-On utilize between 1.7 and 2.0 Watts. Brief spikes @ 6.1 Watts. With the monitor on, varies at [2.4, 2.7]. Zero additional peripherals. Wireless.

textbrowser commented 8 months ago

I resurfaced a lightly-new Sophos machine with pfSense and it consumes more Watts than the Mini. Sure it performs some network activity and some CPU and some drive. So does the Mini. Amazing ARM.

textbrowser commented 8 months ago

I think Pi 5 is @ 5 Watts.

louies0623 commented 7 months ago

Sounds great, just doesn't help with this error.

app4soft commented 1 month ago

Actually can't play embedded videos on any website:

No compatible source was found for this media.

Also, cant play GitHub video attachments, even it is unblocked:

Blocking settings:

Screenshot_2024-08-21_20-14-40

textbrowser commented 1 month ago

https://github.com/user-attachments/assets/582c1fd4-6549-41d1-abb8-adf35ad60342

textbrowser commented 1 month ago

Up there. Recording of a Dooble playing a video of another Dooble. It works. You need a modern distribution.

app4soft commented 1 month ago

You need a modern distribution.

But video playback is working in Dooble native DEB with Qt5WebEngine on the same PC.

In Dooble full DEB with Qt6Webengine non of embeded video plays.

(for "embeded" I mean there is a direct link to video file linked on webpage; YouTube palyer plays video in Dooble)

textbrowser commented 1 month ago

You need to become familiar with dependencies and the complexity of codecs, video players, and large frameworks. It's not a Dooble problem.

textbrowser commented 1 month ago

The Qt libraries in the 6 Debian file are made by Qt on a particular operating system with a particular compiler and an assortment of libraries. Playing a video on a browser is a complex task and it's preferred that the browser does not abort if it cannot detect the required libraries. So instead, the engine fails gracefully and informs the browser in some capacity. It's totally unlike launching a program and it aborting because it has a library failure. It's complex stuff. Expecting Qt to uncover all of the dependencies on numerous platforms is like asking God for a tootsie roll. You just ain't gonna get it.

textbrowser commented 1 month ago

So like for the millionth time. If it doesn't work, refer to the source. Build it for your system. The source is there. Right there for free. Publish it. Print it. Utilize it. Asking for a resolution to everything is impolite.

textbrowser commented 1 month ago

I would like actual problems. Like problems which I refer to in release notes. Not packaging errors. Not styles. We prefer interesting goblins and tarnished travelers. Clothing aesthetics are not our thing.