hongquan / CoBang

A QR code scanner desktop app for Linux
GNU General Public License v3.0
240 stars 27 forks source link

URL shown off-screen and not visible unless you scroll down (Bad UX) #88

Open Botspot opened 4 months ago

Botspot commented 4 months ago

On my system, the CoBang flatpak launches with this window size as default. I have not resized the window. With my specific webcam dimensions, the URL from this average QR code is displayed below the bottom edge of the window.

I just spent the past 10 minutes trying to look around for errors. Unless you move the mouse over the right side of the window to find the hidden scrollbar, you would have no way of even knowing that it is possible to scroll down!

The window should either have a greater default size, or make sure that the URL is not displayed past the edge of the screen.

My display is 1920x1080. CoBang would still fit just fine if it launched at a slightly bigger size.

Botspot commented 4 months ago

Here is a screenshot of the issue: 20240306_00h40m37s_grim

hongquan commented 4 months ago

Thank you for reporting this issue. This issue is known and I haven't found out how to fix it yet. It is the result of a widget which is used for "responsive" feature. Some one suggest https://github.com/hongquan/CoBang/issues/67 as solution but unfortunately I'm sick and cannot work on it yet.

Botspot commented 3 months ago

It seems that before connecting my webcam, CoBang displays a black camera feed on the left, and the Result on the right, as a dual-pane layout. However, when I choose the correct webcam, the layout changes to display the camera feed above the Result.

Would it work to keep the left/right layout? I think that this change would solve the problem reported on this issue.

hongquan commented 3 months ago

Unfortunately, I cannot keep the left/right layout despite of many attempts. When webcam view is ready, GStreamer just breaks the layout, even though I tried to limit the size of webcam view.