LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Bodhi
User Name
Password
Bodhi This forum is for the discussion of Bodhi Linux.

Notices


Reply
  Search this Thread
Old 01-30-2019, 12:04 AM   #1
makarovnik
LQ Newbie
 
Registered: Nov 2018
Location: Northwest
Distribution: Lubuntu, Peppermint, AntiX
Posts: 15

Rep: Reputation: Disabled
Strange window title bars in Audacity


I surprised my search came up empty on this subject.

Using Audacity with Bodhi 5. When I put my mouse pointer on a slider and click to adjust one of the volume levels, a small window title bar appears and covers the slider so I cant see the slider anymore. As soon as I take the pointer off the slider it goes back to normal.

Makes adjusting volume levels extremely difficult when you can't see what you are doing. Any ideas on how to stop this from happening? I have included some screen prints. The first one is before touching sliders and the others are after touching each of the volume control sliders.
Attached Thumbnails
Click image for larger version

Name:	audacity1.jpg
Views:	28
Size:	135.2 KB
ID:	29641   Click image for larger version

Name:	audacity2.jpg
Views:	22
Size:	136.3 KB
ID:	29642   Click image for larger version

Name:	audacity3.jpg
Views:	19
Size:	136.1 KB
ID:	29643   Click image for larger version

Name:	audacity4.jpg
Views:	14
Size:	136.3 KB
ID:	29644  

Last edited by makarovnik; 01-30-2019 at 12:05 AM.
 
Old 01-30-2019, 06:57 AM   #2
the_waiter
Bodhi Developer
 
Registered: Jun 2018
Location: Banská Bystrica, Slovakia
Distribution: Bodhi Linux
Posts: 297

Rep: Reputation: 245Reputation: 245Reputation: 245
This issue could be related to GTK theme. Go to the Application themes settings and try to change the current GTK theme to another if help. We are working hard on themes maintaining these day. I created all GTK themes for each maintained theme. The issue is, GTK themes are in progress and we dont have GTK 3.2x support in BL 5. If you tell me the issue was solved with GTK theme changing, I will ask Ylee to make debs and you can upgrade your current theme to the right one.

I am waiting your feedback

Stefan
 
1 members found this post helpful.
Old 01-30-2019, 11:54 AM   #3
bobl01
Member
 
Registered: Oct 2018
Location: South West England
Distribution: Bodhi; Manjaro
Posts: 99

Rep: Reputation: 63
I can confirm this problem. It appears to be independent of GTK theme.

On clicking on a slider toggle, it seems that the system pops up a degenerate dialog window, showing an empty title bar with the Audacity icon on the left and the X close icon on the right. There is no actual content in the window itself. This happens Seven theme with the Windows Vista GTK theme, and the default theme with Adwaita, plus a few other combinations I've tried.

FWIW I've just tried Audacity on Mac OS X. On the mac, when you move the slider a little window pops up and displays: Output Volume 0.x, where the 0.x changes as the slider is moved.
 
2 members found this post helpful.
Old 01-30-2019, 12:40 PM   #4
the_waiter
Bodhi Developer
 
Registered: Jun 2018
Location: Banská Bystrica, Slovakia
Distribution: Bodhi Linux
Posts: 297

Rep: Reputation: 245Reputation: 245Reputation: 245
Yes, I can confirm the issue. Sth wrong with wxWidgets? I have no idea so far. Hmmm.

Upgrading Audacity to 2.2.2 did not help

Last edited by the_waiter; 01-30-2019 at 12:42 PM.
 
1 members found this post helpful.
Old 01-30-2019, 01:32 PM   #5
bobl01
Member
 
Registered: Oct 2018
Location: South West England
Distribution: Bodhi; Manjaro
Posts: 99

Rep: Reputation: 63
Lightbulb Workaround!

There IS a workaround! But it's a little complex to set up...

1. Double click on the volume slider, and a dialog window should appear.
2. Click on the close icon of the dialog. The offending blank window should still be present.

WARNING: Do not attempt to close the blank window as you will crash Audacity. (I know you'll do it anyway, just for the lols)

3. Click on the Audacity icon of the blank window, and select Window > Move.
4. Move the blank window to some harmless screen location of your choice.
5. Click on the Audacity icon of the blank window, and select Window > Remember. A Window Remember dialog opens.
6. Select basic mode in the Window Remember dialog (if you're not there already).
7. Select Size and Position, then Apply, then Close

Now you can move the slider freely. When you release the slider, the blank window disappears. When you click the slider again, the blank window appears at the remembered position, but disappears as soon as you release the slider.

Enjoy!
 
1 members found this post helpful.
Old 01-30-2019, 02:01 PM   #6
makarovnik
LQ Newbie
 
Registered: Nov 2018
Location: Northwest
Distribution: Lubuntu, Peppermint, AntiX
Posts: 15

Original Poster
Rep: Reputation: Disabled
Ya the first thing I tried was upgrading audacity.

Thanks Bobl01. I saw something like that on this old post from 2016:
https://bugzilla.redhat.com/show_bug.cgi?id=1347053

Your thorough explanation was a little easier to follow as I could not quite figure out how to make it work last night. I tried all kinds of weird things like dragging it off the edge of the unmaximized window and then tried dragging it off the screen.

Thanks to you I got it to work in an acceptable way. I might try going one step further and see if I can make that offensive little title bar go to the bottom of all other windows and stay there so I never see it. I guess for now this is solved as far as I'm concerned. Maybe next revision of Bodhi can address this. Audacity is a popular piece of software.

Update: I couldn't get it to stay below all other windows but what I did is follow the bobl01 procedure then I dragged it to the ibar and stuck it there. It's not too distracting that way. Thanks all.

Last edited by makarovnik; 01-30-2019 at 02:20 PM. Reason: Update
 
1 members found this post helpful.
Old 01-30-2019, 02:10 PM   #7
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 10,763
Blog Entries: 7

Rep: Reputation: 2694Reputation: 2694Reputation: 2694Reputation: 2694Reputation: 2694Reputation: 2694Reputation: 2694Reputation: 2694Reputation: 2694Reputation: 2694Reputation: 2694
I can confirm this is happening on Audacity 2.2.2 on ArchLinux+openbox, too.
The only difference is that the offending window does not cover the slider area, but sticks to the top left edge of the screen and seems to be only 1x1px.
other dropdown menus and text labels are also out of whack.

on first glance i cannot see anything relevant on arch forums.

audacity is written with wxwidgets? wxwidgets has caused me harm earlier, so i'd blame it on that, too.
 
1 members found this post helpful.
Old 01-30-2019, 03:56 PM   #8
hemlocktree
Member
 
Registered: Aug 2018
Location: Northern Exposure
Distribution: Bodhi 5
Posts: 419

Rep: Reputation: 160Reputation: 160
too bad - i always thought it was a good app. i used to use digital performer on macs when i recorded and mixed and mastered.....
 
1 members found this post helpful.
Old 01-31-2019, 09:53 AM   #9
rbtylee
Bodhi Developer
 
Registered: Jun 2018
Location: Ladson, SC US
Distribution: Bodhi
Posts: 108

Rep: Reputation: 125Reputation: 125
Quote:
Originally Posted by bobl01 View Post
There IS a workaround! But it's a little complex to set up...
Dang Dude

I have to admire your ingenuity.

It seems simpler just to move the audacity main window. The little black pop up stays where it is at. At least it does here.
 
1 members found this post helpful.
Old 01-31-2019, 12:21 PM   #10
rbtylee
Bodhi Developer
 
Registered: Jun 2018
Location: Ladson, SC US
Distribution: Bodhi
Posts: 108

Rep: Reputation: 125Reputation: 125
ok I took the time to take a close look at this this morning. Here is what I have determined:

Quote:
Originally Posted by bobl01 View Post
I can confirm this problem. It appears to be independent of GTK theme.
...
I think bobl01 is right, changing gtk themes did not help me nor did using the default Moksha theme. Seems unrelated to either. BUT since i do know that in subtle ways our default theme in Moksha has issues I am not ruling that out completely as yet. Our other themes are more or less based on this default e17 theme, so issues the default e17 theme has most likely effects on all our themes ...

But anyways moving on.

Updating audacity does not help.

I updated audacity to the latest commit in git. Compiled both audacity and wxWidgets for GTK+ as recommended by audacity/linux/build.txt. I made sure absolutely everything audacity needed was installed and there were no configure warnings at all. Moksha still has the same issue.

The .xsessionerrors file provides a clue:

Code:
(audacity:10108): Gtk-CRITICAL **: 05:03:40.713: IA__gtk_window_resize: assertion 'height > 0' failed
The additional errors:

Code:
04:57:00: Debug: ClientToScreen cannot work when toplevel window is not shown
seem unrelated. I think they relate to the splash screen which also doesn't display correctly on Bodhi 5.0. And maybe that Welcome to Audacity help screen that also displays. The splash screen not displaying makes this TWO issues not one

Updating efl does not help. Same error in efl 1.21.1.

Quote:
Originally Posted by ondoho View Post
I can confirm this is happening on Audacity 2.2.2 on ArchLinux+openbox, too.
The only difference is that the offending window does not cover the slider area, but sticks to the top left edge of the screen and seems to be only 1x1px
...
This implies Moksha is not the only window manager having problems with this same issue. I can verify that the same issue persist in my Lubuntu 18.04 VM install. This is LXDE and I think is using the Openbox window manager. And as ondoho suggest the window is 1 pixel wide. I am not going to test and see which window Managers have the same difficulty. But it should be noted the splash screen does display correctly in LXDE.

Quote:
Originally Posted by ondoho View Post
...

audacity is written with wxwidgets? wxwidgets has caused me harm earlier, so i'd blame it on that, too.
Well I am not going to blame wxwidgets. I like wxwidgets and it was the third GUI toolkit I tried to learn how code with. Never had any issues with the tool kit itself.

But googling around I can find other apps that used to throw the same or similar .xsessionerrors. Most of them patched their code to avoid this 'height > 0' or sometimes 'width > 0' assertion failures. It seems something changed probably in gtk that made it stricter and apps started getting these warnings in stderr.

This suggests if the audacity code was patched one could make that error go away. Maybe and most likely stuff would display right in Bodhi after that.

BUT I am not blaming audacity. Err some window managers get this right. One still has the .xsessionerrors but the popup displays right.

As bobl01 notes:

Quote:
Originally Posted by bobl01 View Post
... FWIW I've just tried Audacity on Mac OS X. On the mac, when you move the slider a little window pops up and displays: Output Volume 0.x, where the 0.x changes as the slider is moved.
This is what it should look like: audacity-e22


This is on e22 compiled on the same Lubuntu 18.04 VM install mentioned above with efl 1.21.1. Note audacity fails to display this right in both lubuntu and Moksha compiled also in the same lubuntu VM. Also in e22 the splash Screen does display.

It also fails to display right in e17 in the same Lubuntu VM.

So to conclude I am taking this to mean we have TWO window manager bugs which have been present since before Moksha forked from e17 but has been fixed in latter versions of e.

Last edited by rbtylee; 01-31-2019 at 03:58 PM. Reason: typo
 
2 members found this post helpful.
Old 01-31-2019, 12:25 PM   #11
hemlocktree
Member
 
Registered: Aug 2018
Location: Northern Exposure
Distribution: Bodhi 5
Posts: 419

Rep: Reputation: 160Reputation: 160
wow - i wish i knew 1/1000th of what you know.... nice work man.
 
1 members found this post helpful.
Old 01-31-2019, 01:41 PM   #12
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 10,763
Blog Entries: 7

Rep: Reputation: 2694Reputation: 2694Reputation: 2694Reputation: 2694Reputation: 2694Reputation: 2694Reputation: 2694Reputation: 2694Reputation: 2694Reputation: 2694Reputation: 2694
Quote:
Originally Posted by hemlocktree View Post
too bad - i always thought it was a good app.
this problem doesn't make it unusable.

anyhow, i compiled audacity with wxgtk2 last night, and the issue is exactly the same.

not sure what to make of it; i'd say i was too hasty to blame it on wxwidgets.
it also doesn't seem to have anything to do with the window manager.

i started it from a terminal, and i get more than a screenful of this:
Quote:
Debug: ScreenToClient cannot work when toplevel window is not shown
then, when i actually hover over the slider and that weird window is created and destroyed, nothing. no output.

i don't think this is window manager or gtk theme dependent at all, but i cannot test in VMs right now.

PS:
ubuntu 18.04 offers audacity 2.3.0 as a snap package.
did you try that, rbtylee?
 
1 members found this post helpful.
Old 01-31-2019, 01:50 PM   #13
the_waiter
Bodhi Developer
 
Registered: Jun 2018
Location: Banská Bystrica, Slovakia
Distribution: Bodhi Linux
Posts: 297

Rep: Reputation: 245Reputation: 245Reputation: 245
I posted a request to Audacity forum. Maybe the developers will answer
 
2 members found this post helpful.
Old 01-31-2019, 02:03 PM   #14
hemlocktree
Member
 
Registered: Aug 2018
Location: Northern Exposure
Distribution: Bodhi 5
Posts: 419

Rep: Reputation: 160Reputation: 160
i did not mean it was bad stefan just a buggy thing. that was all.
 
1 members found this post helpful.
Old 01-31-2019, 02:18 PM   #15
the_waiter
Bodhi Developer
 
Registered: Jun 2018
Location: Banská Bystrica, Slovakia
Distribution: Bodhi Linux
Posts: 297

Rep: Reputation: 245Reputation: 245Reputation: 245
hemlocktree: We don't like buggy things

Anyway: I downloaded the GTK 3.30 theme from gnome-look.org and it also did not help
https://www.gnome-look.org/browse/cat/135/

EDIT: OK, we have an answer
https://forum.audacityteam.org/viewt...?f=50&t=103517

Last edited by the_waiter; 01-31-2019 at 02:24 PM.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Openbox Window Shading And Title Bars cin_ Linux - Software 0 05-16-2012 02:56 PM
[SOLVED] Giant window title bars on openSUSE 11.4 with Gnome 3 beezum88 Linux - Desktop 2 07-30-2011 12:45 AM
windowmaker restore window (title bar, scroll bars etc) frieza Linux - Software 2 02-24-2007 11:19 PM
Taskbar ignores click, window title bars gone after session inactive legacyprog Linux - General 2 12-25-2006 03:54 PM
weird gnome 2.6 problem: no window title bars, limited mouse actions rosslaird Debian 7 12-09-2004 08:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Bodhi

All times are GMT -5. The time now is 09:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration